I tried to build my app and I am getting below error, not sure, how to resolve it
1) Error:(49, 91) error: cannot find symbol variable BOOKMARKS_URI
2) Error:(56, 94) error: cannot find symbol variable BookmarkColumns
3) Error:(3780, 27) error: cannot find symbol method setLatestEventInfo(Context,String,String,PendingIntent)
Any idea, how to get over it?
Thanks
Marshmallow removed the support for the bookmarks
Browser Bookmark Changes
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.
Reference
http://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-bookmark-browser
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With