I am receiving a webservice strings in html code, and needed to put them in this html code to put a TextView.
Example:
String str = "<b>Hello</b>";
// my attempt
textView.setText(Html.fromHtml(str));
// this only convert to <b>Hello</b> instead of running the html code.
Well that’s an ugly trick but it works: