Hi,

I am getting the following SecurityException when I try to insert an
entry to DB:
Can you please tell me how can I fix my issue?

/AndroidRuntime(  857): Caused by: java.lang.SecurityException:
Permission Denial: writing com.mycompany.myapp uri
content://com.mycompany.myapp.settings/favorites?notify=true from
pid=857, uid=10004 requires
om.mycompany.myapp.permission.WRITE_SETTINGS
E/AndroidRuntime(  857):        at 
android.os.Parcel.readException(Parcel.java:1234)
E/AndroidRuntime(  857):        at
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:145)
E/AndroidRuntime(  857):        at
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:111)
E/AndroidRuntime(  857):        at
android.content.ContentProviderProxy.insert(ContentProviderNative.java:340)
E/AndroidRuntime(  857):        at
android.content.ContentResolver.insert(ContentResolver.java:507)

Thank you.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to