I am using webservice in my android application. In my webservice result I get a HTML formatted String as result.
Assume this is my web service result:
String sBooks = "Books on Chennai:\n ....";
Replace: \n with :
\n
sBooks = sBooks.replace("\n", "");
Example using a TextView:
myTextView.setText(Html.fromHtml(sBooks));