I have a html database with sqlite, the records like below:
<p>this is a test<sub>1234</sub>click on it to show commentary </p> ……,many many records!
I use webview to show them,like the pics.
My need is:
Click or touch on the tag of “1234”(only a example),then a pop window will show, the commentary from another database which link to “1234” will show on pop window.
My difficulty:
1. How to raise click event on webview?
2. when click, How to get the content of the tag,for it is the id of commentary record.
I search the forums,but didn't find a good way.
Anyone help me,thank you very much in advance.
<p>this is a test<sub>1234</sub>click on it to show commentary </p> ……,many many records!
I use webview to show them,like the pics.
My need is:
Click or touch on the tag of “1234”(only a example),then a pop window will show, the commentary from another database which link to “1234” will show on pop window.
My difficulty:
1. How to raise click event on webview?
2. when click, How to get the content of the tag,for it is the id of commentary record.
I search the forums,but didn't find a good way.
Anyone help me,thank you very much in advance.
Attachments
Last edited: