patdepabled
New Member
My searchable dictionary (Google's \[code\]SearchableDictionary\[/code\] found on SDK/samples) gets its query result from \[code\]SQLiteDatabase\[/code\] which gets data from \[code\]definitions.txt\[/code\] file (Its .txt file not \[code\]XML\[/code\] file).Now I want want to show query results output as \[code\]Html\[/code\] on android. that mean, I want to ad \[code\]\n\[/code\] \[code\]<b>\[/code\] and other \[code\]Html code\[/code\] on \[code\]definitions.txt\[/code\] which will prossesed on SQLiteDatabase give output on query. I've found a code \[code\].setText(Html.fromHtml\[/code\] but it supposed to work on XML strings only.Here is My code which shows final output on my project\[code\]TextView word = (TextView) findViewById(R.id.word);TextView definition = (TextView) findViewById(R.id.definition);\[/code\]Thanks in advance.