How to get data from html in android
<p>I have get html data from webpage. But i want to get only data excluding html tags.</p>

<p>I have tried this:</p>

<pre><code>HttpClient client = new DefaultHttpClient();
HttpGet request = new HttpGet(urlText.getText().toString());
// Get the response
BufferedReader rd = new BufferedReader(new InutStreamReader(response.getEntity().getContent()));
StringBuilder sb = new StringBuilder();
String line = "";
while ((line = rd.readLine()) != null) 
{
   textView.append(line);
   sb.append(line+"\n");
}
</code></pre>

<p>This giving me whole html data. Tell me now i can get data only.</p>
