Two Laptop Bag
The moose likes Android and the fly likes Displaying HTML content in TextView Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "Displaying HTML content in TextView" Watch "Displaying HTML content in TextView" New topic
Author

Displaying HTML content in TextView

Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
Hi,

I want to display HTML content in text view.And Android has one very good method for this. Html.fromHtml. This method takes html input and returns output in String format.
But there is small problem with this.It removes all the Html Tags. I want some of tags like bold and font color etc. For this they have same method with different list of argument. But doing this is bit complecated.

I need some better way. Please Help.
 
 
subject: Displaying HTML content in TextView
 
Threads others viewed
how to convert table content from html source code to a database?
how to convert table content from html source code into a database
Parsing HTML
How can i read mail content using Java Mail ApI
HTML Tag problem
MyEclipse, The Clear Choice