Is there any way to open .doc file in Android?
<p>I have created a app that displays all the content from res/raw folder.</p>

<p>I need that when i click on .doc file it should open and I can view its content.</p>

<p>please help me.</p>

<p>I have ThinkFree.</p>

<pre><code>enter code here
public class FileList extends ListActivity {

public static final Field[] fields = R.raw.class.getFields();

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setListAdapter(new ArrayAdapter&lt;Field&gt;(this, R.layout.row, R.id.weekofday, fields));
}

@Override
protected void onListItemClick(ListView l, View v, int position, long id) {
    // TODO Auto-generated method stub
    //super.onListItemClick(l, v, position, id);
    String selection = l.getItemAtPosition(position).toString();
    Toast.makeText(this, selection, Toast.LENGTH_SHORT).show();

    Intent i = new Intent();
    i.setAction(android.content.Intent.ACTION_VIEW);
    startActivity(i);
}
</code></pre>

<p>}</p>
