1

I try from my app to query content provider of an other app (not my app). The provider in that app is defined with:

android:readPermission="android.permission.BIND_APPWIDGET" 
android:grantUriPermissions="true"

From my app i added the user permission android.permission.BIND_APPWIDGET to manifest file but i get:

java.lang.SecurityException: Permission Denial: opening provider com.* from ProcessRecord{427afe60 29052:*/u0a72} (pid=29052, uid=10072) requires android.permission.BIND_APPWIDGET or com.*.ACCESS

Does anyone have and idea?

zx81
  • 41,100
  • 9
  • 89
  • 105
cmg_george
  • 309
  • 1
  • 2
  • 9

1 Answers1

0

You can't give your application BIND_APPWIDGET since that is a signature|system permission. See the Android core resources manifest for more information.

kroot
  • 1,962
  • 1
  • 12
  • 10