1

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

matkins
  • 1,991
  • 1
  • 16
  • 22
Ccorock
  • 892
  • 12
  • 37
  • Just found this link explaining the content provider again. http://stackoverflow.com/a/2337085/1157215 Also found http://developer.android.com/reference/android/provider/package-summary.html a list of content_providers that allow access to different information, bookmarks included. – Ccorock Jan 19 '12 at 05:19

1 Answers1

2

You should use Browser content provider. Specifically, to deal with bookmarks you have to use the BOOKMARKS_URI.

Diego Torres Milano
  • 65,697
  • 9
  • 111
  • 134