• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Setting image from gallery to photoFile - Android Studio

xsmatty

Lurker
https://prnt.sc/mspvl3

I'm getting an error, I'm not sure if the image/video returned would even be called selectedMediaUri.. that's my question, what would the returned image/video be called so that I can imput it there?
 
If you set a breakpoint in method onActivityResult and run the app in debug mode, you can determine what type of data the Intent is carrying.
 
Back
Top Bottom