Image Captured From Camera Not Displaying In Imageview Android
I have a problem, that when i have taken an image from camera, image not displaying in imageview. I created the code by referring the following link http://developer.android.com/tr
Solution 1:
this works for me:
BitmapmyBitmap= BitmapFactory.decodeFile(imagePath);
image.setImageBitmap(myBitmap);
Solution 2:
You don't need to create the temp file, just put the Uri in the intent. After the capture, check the file existence of that Uri. If it exists, capture has been done successfully.
Post a Comment for "Image Captured From Camera Not Displaying In Imageview Android"