2

I have an app that use ContentResolver to get the Browser history data with Browser.BOOKMARKS_URI. It works well with the stock Android browser. Now Google is moving to Chrome as the default browser. Does Chrome provide similar Contentprovider? I searched all over the web but could not find any information on this. Is there a doc for Chrome on Android released by Google yet? Thanks in advance!

4

1 回答 1

3

https://groups.google.com/a/chromium.org/forum/?fromgroups=#!topic/chromium-bugs/ThAoOAYOPCk表明现在应该可以了。

如果 Chrome 是系统默认浏览器(它应该在 Nexus7 中),则 BOOKMARKS_URI 权限应该自动解析 Chrome 的书签。如果不是默认的https://code.google.com/p/chromium/issues/detail?id=138755表示 content-provider URI 是content://com.android.chrome.browser/bookmarks

于 2013-03-06T06:37:12.563 回答