I can launch the android cam app with the following:
But I'd like to use the following, which works with higher API's to provide a full-sized image.
I get the following error.
I wrote a library that I can use to launch the camera using "MediaStore.ACTION_IMAGE_CAPTURE," but I'd rather be able to just launch the intent from B4A.
Any ideas on how to do this? If not I'll stick to the library I created, and can post for others if there is interest.
Thanks,
Jack
B4X:
dim camintent as intent
camintent.Initialize("android.media.action.IMAGE_CAPTURE", "")
But I'd like to use the following, which works with higher API's to provide a full-sized image.
B4X:
dim camintent as intent
camintent.Initialize("MediaStore.ACTION_IMAGE_CAPTURE", "")
I get the following error.
android.conent.ActivityNotFoundException: No Activity found to handle Intent
I wrote a library that I can use to launch the camera using "MediaStore.ACTION_IMAGE_CAPTURE," but I'd rather be able to just launch the intent from B4A.
Any ideas on how to do this? If not I'll stick to the library I created, and can post for others if there is interest.
Thanks,
Jack