Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Image displays when choosing from gallery but not when capturing from camera

 
L Vasquez
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On the press of a button, `dispatchTakePictureIntent()` lets the user choose between taking a picture or choosing one from the gallery four times. These  four URIs are stored in an ArrayList and the four should be shown in their respective ImageViews. The problem I'm having is that when I "capture a picture", it doesn't show in the ImageView right away; but the pictures I chose from gallery do.

The picture I captured is properly saved and can be found in "choose from gallery" the next time I press the button. Can anybody see what I'm doing wrong?

takePictureIntent():

   

onActivityResult():

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic