Android Question Intent based camera, select picture from gallery?

Daica

Active Member
Licensed User
Hello,
I followed the guide in this thread: https://www.b4x.com/android/forum/threads/intent-based-camera.69215
I'm able to open the default camera to take the photo and use it just fine without any permission.

Would it be possible to also allow the user to select a photo from their gallery as well? Or would that function require something completely different?
I like the idea of using the default camera app to take a picture, but if it's not possible to do that, what can I use?
 

DonManfred

Expert
Licensed User
Longtime User
Use contenchooser
 
Upvote 0

Daica

Active Member
Licensed User
Use contenchooser

Maybe I did not word my question correctly, would it be possible to choose a photo from the gallery once the intent base for the default camera is already fired? Or would I have to use 2 buttons? 1 button for default camera intent and 1 button for choosing from gallery?

I notice that once the camera is opened from the intent, I can browse the gallery but I'm not able to do anything with the photo
 
Upvote 0
Top