Hello,
i have an app which use downloaded html files inside webview to show contents to the user.
I use a sqlite db to populate item names, menu descriptions, buttons text, icons, and a table which contain a glossary for some specific terms, for example:
db>table_glossary
ID NAME SHORTDESCR
1 ETHYL THIOGLYCOLATE ADDITIVE USED FOR..
2 ETHYL ACETATE SOLVENT USED IN..
In my html pages, when needed i need to put an hyperlink than once is clicked will open a new activity and where data is obtained from glossary_table content, something like this:
"The #ethyl_acetate(click, new window > query > result) is commonly used for production of #foo"
I know how to interact with db and populate a list, label or textview,
but i dont know if and how is possible to pass values taken from html to my queries.
I also know that would be more easy to me to put the glossary of terms inside another html file and just link the hrefs to that file, but for various reasons i need to keep that informations stored in a sqlite table, separated from html files.
Any suggestion? i tried to search in forum but with no luck or i may missed it, sorry for my horrible english.
Thank you
i have an app which use downloaded html files inside webview to show contents to the user.
I use a sqlite db to populate item names, menu descriptions, buttons text, icons, and a table which contain a glossary for some specific terms, for example:
db>table_glossary
ID NAME SHORTDESCR
1 ETHYL THIOGLYCOLATE ADDITIVE USED FOR..
2 ETHYL ACETATE SOLVENT USED IN..
In my html pages, when needed i need to put an hyperlink than once is clicked will open a new activity and where data is obtained from glossary_table content, something like this:
"The #ethyl_acetate(click, new window > query > result) is commonly used for production of #foo"
I know how to interact with db and populate a list, label or textview,
but i dont know if and how is possible to pass values taken from html to my queries.
I also know that would be more easy to me to put the glossary of terms inside another html file and just link the hrefs to that file, but for various reasons i need to keep that informations stored in a sqlite table, separated from html files.
Any suggestion? i tried to search in forum but with no luck or i may missed it, sorry for my horrible english.
Thank you