Hi, I downloaded this sample: https://www.b4x.com/android/forum/threads/intent-based-camera.69215/#content
If I try the sample, every works.
The problem is when I put the same code in my application (I added also the manifiest to my app), i get this error:
(SecurityException) java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 cmp=com.motorola.cameraone/com.motorola.camera.Camera clip={text/uri-list U:content://com.gpsafe.mysampleapp.provider/name/tempimage.jpg} (has extras) } from ProcessRecord{2e08a1c 20981:com.gpsafe.mimunicipio/u0a137} (pid=20981, uid=10137) with revoked permission android.permission.CAMERA
Any idea?
Thanks.
If I try the sample, every works.
The problem is when I put the same code in my application (I added also the manifiest to my app), i get this error:
(SecurityException) java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 cmp=com.motorola.cameraone/com.motorola.camera.Camera clip={text/uri-list U:content://com.gpsafe.mysampleapp.provider/name/tempimage.jpg} (has extras) } from ProcessRecord{2e08a1c 20981:com.gpsafe.mimunicipio/u0a137} (pid=20981, uid=10137) with revoked permission android.permission.CAMERA
Any idea?
Thanks.