How to open a .doc file stored in SD card in browser?
<p>I have a .doc file stored in the SD card. I have to open it using the browser.
I used</p>

<pre><code>Intent intent = new Intent();
File file = new File("/sdcard/ValidateLibrary.doc"); 
intent.setDataAndType( Uri.fromFile(file),"text/html");
</code></pre>

<p>in the manifest file i wrote: </p>

<pre><code>&lt;activity android:name=".TextFileShow"&gt;
    &lt;intent-filter&gt;
              &lt;action android:name="myaction"/&gt;
    &lt;/intent-filter&gt;
&lt;/activity&gt;
</code></pre>

<p>But it opens the "message compose". </p>

<p>I have to open the ValidateLibrary.doc file inside a browser.
How do i do that?</p>
