I would like to open browser bookmarks directly from my app.
Is there an intent that could to this?

I tried

String packageName = "com.android.browser";
String className =
"com.android.browser.CombinedBookmarkHistoryActivity";
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_LAUNCHER);
intent.setClassName(packageName, className);
startActivity(intent);

But I get security permission exception.

these are on:
com.android.browser.permission.READ_HISTORY_BOOKMARKS
com.android.browser.permission.WRITE_HISTORY_BOOKMARKS

I suppose only browser can open that window.
Maybe there is a way to open browser and tell him to show bookmarks
page?

thanks

-- 
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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to