In my app, I have been using some of these function that are coming up as unknown
when using Android 6.0 (buildToolsVersion "23.0.1"
), the functions are: Browser.getAllVisitedUrls(getContentResolver());
, BookmarkColumns.URL
, etc.
How can I use the same functions going forward with Android 6.0.
In the list of things that have changed in Android 6.0, I see the following:
This release removes support for global bookmarks. The android.provider.Browser.getAllBookmarks() and android.provider.Browser.saveBookmark() methods are now removed. Likewise, the READ_HISTORY_BOOKMARKS and WRITE_HISTORY_BOOKMARKS permissions are removed. If your app targets Android 6.0 (API level 23) or higher, don't access bookmarks from the global provider or use the bookmark permissions. Instead, your app should store bookmarks data internally.
What does this exactly mean? **Instead, your app should store bookmarks data internally**
???
I was accessing the history of websites (with explicit user permission of course) visited using the Chrome Browser app, how to continue doing that?