android - Permission errors when cropping after taking a photo -


i want take photo intent on android.provider.mediastore.action_image_capture,

next crop result with:

intent intent = new intent("com.android.camera.action.crop"); intent.setclassname("com.android.camera", "com.android.camera.cropimage"); 

i follow sugestions made at: android: crop image after taking camera fixed aspect ratio

however when calling crop activity (already checked logcat output) permission error, saying like:

permission denial on intent access temporary image created camera activity on sdcard.

can please suggest solution android 2.2 ?

thank you

cgm,

do have

<uses-permission android:name="android.permission.write_external_storage" />

in androidmanifest.xml?

it required modify on sd card.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -