textview.setText(Html.fromhtml()) not working
<p>I'm trying to put some html code into a <code>TextView</code>. I'm using :</p>

<pre><code>super.onCreate(savedInstanceState);
try{
  setContentView(R.layout.activity_main);


  TextView view = (TextView) findViewById(R.id.textView1);
  view.setText(Html.fromhtml(readfile()));   

}catch(IOException e){
  System.out.println(e.printStackTrace)
}

public String readFile() throws IOException {
  FileInputStream stream = new FileInputStream(new File("c:\\test3.html"));
  try {
    FileChannel fc = stream.getChannel();
    MappedByteBuffer bb = fc.map(FileChannel.MapMode.READ_ONLY, 0, fc.size());

    String a = "&lt;html&gt;&lt;body&gt;Isso eh html&lt;/body&gt;&lt;/html&gt;";
    return a;

    //return Charset.defaultCharset().decode(bb).toString();
  }
  finally {
    stream.close();
  }
}
</code></pre>

<p>The <code>readFile()</code> method works, I already tested it.</p>

<p>If I set : <code>textView.setText("&lt;html&gt;&lt;body&gt; test &lt;/body&gt;&lt;/html&gt;")</code>, it works perfectly, </p>

<p>but If I set <code>textView.setText(anyStringMethod()));</code> it doesn't work.</p>

<p>Why would this be?</p>
