java - "Preview" cannot be resolved to a type, imports are defined -
why eclipse telling me preview cannot resolved type??
where preview defined?
yes, have tried ctrl+shift+o
import android.app.activity; import android.content.pm.activityinfo; import android.media.mediarecorder; import android.os.bundle; import android.view.menu; import android.view.menuitem; import android.view.window; public class mainactivity extends activity { preview preview; mediarecorder recorder;
preview
not imported. why it's giving error.
as why it's not imported depends.
may it's typo , wrong . if it's custom class wrote seek clean , build.
or may have not added library containing class, more if eclipse doesn't offer quick-fix importing class.
java android eclipse android-camera preview
No comments:
Post a Comment