Hello,

I am trying to use the built in camera for android phones and I am using 
code from the android studio website on "Taking Photos 
Simply" http://developer.android.com/training/camera/photobasics.html.

However mImageView does not work. It says it cannot resolve the symbol 
mImageView. I tried using ImageView because the Android Studio recognizes 
this. But the line  ImageView.setImageBitmap(imageBitmap); (Originally with 
mImageView) does not work it says non-static method setImageBitmap(
imageBitmap) cannot be referenced from static method.

How can I resolve this? Any help or ideas about what this mImageView is 
will be appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/1f1801a9-e986-4cb8-a9fc-108290e05121%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to