Reading a website table from android
<p>I would like to read a 3 column table from a site and store it to three variables <code>col1</code>,<code>col2</code>,<code>col3</code>
I found here a sample code
<a href="http://www.devx.com/wireless/Article/39810/1954" rel="nofollow">connecting to the web tutorial</a>
and I'm trying to manipulate it </p>

<pre><code>String str = DownloadText("http://XXXX.com/table1.htm");
    TextView txt = (TextView) findViewById(R.id.text);
    txt.setText(str); 
</code></pre>

<p>know i see on the emulator the html source</p>

<pre><code>&lt;html&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/&gt; 
&lt;body&gt;

&lt;table border="0"&gt;
&lt;tr&gt;
&lt;td class="col1"&gt;8800&lt;/td&gt;
&lt;td class="col2"&gt;test&lt;/td&gt;
&lt;td class="col3"&gt;300&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>How can I store each cell into a variable (e.g. col1=8000, col2=test, col3=300) ?</p>
