Reading text document in Android
<p>How to display contents of a byte array using AlertDialog properly.  I've tried with below code</p>

<pre><code>    try {
        FileInputStream in = m_context.openFileInput("Test.txt");
        byte buf[] = new byte[1024];
        in.read(buf);
        in.close();
        new AlertDialog.Builder(m_context).setTitle("Alert").setMessage(buf.toString()).setNeutralButton("Close", null).show();
    } catch( Exception e) {
        e.printStackTrace();
    }
</code></pre>

<p>what out i got displayed below</p>

<p><img src="http://i.stack.imgur.com/mY3vU.jpg" alt="enter image description here"></p>

<p>i think the value is memory address</p>

<p>please correct me</p>

<p>thanks</p>
