Hi All,
I am using the following code to activate the internal camera app:
This is working fine but I have two problems.
1. What is the event that is called when the camera returns
2. How do I get the image that was taken? I understand I can add the following code to tell the intent where to store the photo
but I would like to simply pick up the photo from the default DCIM folder.
Thank you for looking.
I am using the following code to activate the internal camera app:
B4X:
Dim camintent As Intent
camintent.Initialize("android.media.action.IMAGE_CAPTURE","")
StartActivity(camintent)
This is working fine but I have two problems.
1. What is the event that is called when the camera returns
2. How do I get the image that was taken? I understand I can add the following code to tell the intent where to store the photo
B4X:
camintent.PutExtra("output", common.ParseUri("file://" & File.Combine(Directory, PictureName)))
but I would like to simply pick up the photo from the default DCIM folder.
Thank you for looking.