开发者

Converting html tag into text in android

I am developing android app.

In my app i retrieve the data from the database which is stored in the html format. For converting the html code into plain text i use HTML.fromHtml(String开发者_StackOverflow) . It convert the html code but it to convert <font> color="######">some String</font>.

Please help me if any one have any idea.

Thank you in advance.


Html.fromHtml(String) supports only few tags.
Check here,
http://commonsware.com/blog/Android/2010/05/26/html-tags-supported-by-textview.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜