Reputation: 892
I am working on an application to organize bookmarks. I know the bookmarks are located in /data/data/com.android.browser/databases
, however there seems to be a problem querying a database outside of an application. In order to populate my listview with android's default browser bookmark database it appears I need to implement a "Content-Provider." Is there a better way to access these records? Is there a Content-Provider specific to this cause?
For anyone starting out with sqlite3 databases there is an excellent example here: http://marakana.com/forums/android/examples/55.html
Upvotes: 1
Views: 146
Reputation: 69228
You should use Browser content provider. Specifically, to deal with bookmarks you have to use the BOOKMARKS_URI.
Upvotes: 2