3

I am trying to implement a bookmark system into my app which uses webview to load one of several html pages from a spinner. Ideally, I would like the currently viewed webpage in the webview to be saved into a bookmark database after the user clicks a button in the menu.

I know that I need a database and through other questions and answers on stackoverflow saw that Google has a tutorial that shows how this could be done.

I tried to adapt the Notepad Tutorial from Google, I was unable to implement this successfully. Converting between Strings and Uris just didn't seem to go through correctly. Has anyone encountered a way to make a simple bookmark system for webviews? Or any tips on successfully using the Notepad Tutorial?

user1363871
  • 580
  • 3
  • 11
  • 29

1 Answers1

0

Android webview has a bookmark system https://android.googlesource.com/platform/packages/apps/Browser/+/refs/heads/master

sonichy
  • 1,370
  • 2
  • 14
  • 17