Android Question B4A Classic App - Intent Based Camera - Android 34

mjstewy

New Member
Hello everyone.

I've been trawling the threads and just wondering if there is a way to take a photo with intent camera on Android 34 + with a B4A Classic App I've recently refactored for an old client.

All good when I target 34 and run on an earlier device but on an actual 14 device it bombs out when you press the button.

Everything seems to point to this method no longer working and moving to B4XPages and using Media Chooser?

Any advice or tips most welcome.

Thanks.
 

DonManfred

Expert
Licensed User
Longtime User
but on an actual 14 device it bombs out when you press the button.
Where is the full stacktrace?
No one can help you with the Informations you provided.

Best is to upload a small project showing the issue.
 
Last edited:
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Everything that works with B4XPages can also work with Activities. It is just more complicated.

I don't remember whether MediaChooser only works with B4XPages (it is possible), however even if it does, then it shouldn't be complicated to take the relevant code (b4xlib = zip file) and use it in your project.
 
Upvote 0

mjstewy

New Member
Everything that works with B4XPages can also work with Activities. It is just more complicated.

I don't remember whether MediaChooser only works with B4XPages (it is possible), however even if it does, then it shouldn't be complicated to take the relevant code (b4xlib = zip file) and use it in your project.
Thanks for this Erel. Your earlier post indicate B4X and MediaChooser is the way to go so will try that first.
 
Upvote 0
Top