• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

outputFileUri returns null?

 
L Vasquez
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For some reason outputFileUri returns null in my onActivityResult:


I don't understand why. Please take a look at my code and see where I go wrong. I let the user take 4 images by choosing from gallery or using the camera. The ones that the user takes with the camera won't show presumably because their uri is null. outputFileUri is a class variable!

`takePictureIntent()`:

   


`onActivityResult()`:

  

My createImageFile():

   
 
Norm Radder
Bartender
Posts: 1526
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are you trying to debug the code to see what it is doing?  I don't see any print statements to display the values of variables as they are used and given values.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic