Reputation: 4253
I have webview
to show some pages to users:
for example:
case "page1":
myWebView.loadUrl("file:///android_asset/page1.html");
break;
case "page2":
myWebView.loadUrl("file:///android_asset/page2.html");
break;
The pages has texts. I'd like to allow user to highlight in yellow parts of it and, if possible, I'd these pages to remember the texts highlights for the next time the user runs the app.
Any ideas if it is possible and how to make it work?
Upvotes: 0
Views: 112
Reputation: 11110
By uploading html files using JSOUP, you can color the related text contents according to the user's choice. You can record the colored parts regionally and then show them to the user by recalling them.
Upvotes: 1