Android Question content chooser need GrantUriPermission or READ_EXTERNAL_STORAGE

ykucuk

Well-Known Member
Licensed User
Longtime User
Hello,

i got success =true after pick photo from gallery with contentchooser.

but i cant use selected file and get this error ;

"GrantUriPermission or READ_EXTERNAL_STORAGE"

it s my manifestEditor File ;

AddManifestText(
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
AddReplacement(<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>,)



what is the wrong? any help ?
 

ykucuk

Well-Known Member
Licensed User
Longtime User
honestly i dont know. i searched about how to add permissions to project. i just find this.

what i should add to project for get this permissions.

thanks
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…