Permission errors when cropping after taking a photo
Posted
by
CGM
on Stack Overflow
See other posts from Stack Overflow
or by CGM
Published on 2011-02-09T15:21:07Z
Indexed on
2011/02/09
15:25 UTC
Read the original article
Hit count: 227
android
Hello everybody,
I want to take a photo with an Intent on android.provider.MediaStore.ACTION_IMAGE_CAPTURE,
next crop the result with:
Intent intent = new Intent("com.android.camera.action.CROP");
intent.setClassName("com.android.camera", "com.android.camera.CropImage");
I follow the sugestions made at: Android: Crop an Image after Taking it With Camera with a Fixed Aspect Ratio
However when calling the crop activity I get (already checked the LogCat output) a permission error, saying something like:
Permission denial on a Intent to access the temporary image created by the camera activity on my SDcard.
Can you please suggest a solution for Android 2.2 ?
Thank you
© Stack Overflow or respective owner