Hi all,

I am getting Security Exception - Permission denial when I am trying
to access the Browser.BOOKMARK_URI in my code.
Cursor cur = m_Context.getContentResolver().query
(Browser.BOOKMARKS_URI, null, null,null, null);

However it gives me this error only on device whereas on emulator it
works great. I tried to find if there is any permission for the
bookmark uri, but got none.

After a little googling I found the permission:

<uses-permission
android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>

from: 
http://github.com/android/platform_packages_apps_browser/blob/0cb2af7646d0a41c0543a086021df3042bfc814a/AndroidManifest.xml


Just wondering why this permission is hidden or sort of hidden as its
not available in drop down permission bar of Manifest.xml (using
eclipse)


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

Reply via email to