title: remove html tag in android
body: <p>I have follows below XML feed:</p>
  
  <pre><code>&lt;Description&gt;
    &lt;p&gt;Touch, tap, flip, slide! You don&amp;#39;t just read Books, you experience it.&lt;/p&gt;
  &lt;/Description&gt;
  </code></pre>
  
  <p>Here I have to display the description like </p>
  
  <p><strong>Touch,tap,flip,slide! You don 39.just read the Books, you experience it.</strong></p>
  
  <p>Here I have handled the parser like:</p>
  
  <pre><code>   public static String removeHTML(String htmlString)
    {
    // Remove HTML tag from java String    
  String noHTMLString = htmlString.replaceAll("\\&lt;.*?\\&gt;", "");
  
  // Remove Carriage return from java String
  noHTMLString = noHTMLString.replaceAll("\r", "&lt;br/&gt;");
  noHTMLString = noHTMLString.replaceAll("&lt;([bip])&gt;.*?&lt;/\1&gt;", "");
  // Remove New line from java string and replace html break
  noHTMLString = noHTMLString.replaceAll("\n", " ");
  noHTMLString = noHTMLString.replaceAll("\"", "&amp;quot;");
  noHTMLString = noHTMLString.replaceAll("&lt;(.*?)\\&gt;"," ");//Removes all items in brackets
  noHTMLString = noHTMLString.replaceAll("&lt;(.*?)\\\n"," ");//Must be undeneath
  noHTMLString = noHTMLString.replaceFirst("(.*?)\\&gt;", " ");
  noHTMLString = noHTMLString.replaceAll("&amp;nbsp;"," ");
  noHTMLString = noHTMLString.replaceAll("&amp;amp;"," ");
  return noHTMLString;
  
      }
  </code></pre>
  
  <p>In endElement :</p>
  
  <pre><code>   public void endElement(String uri, String localName, String qName)throws SAXException {
    currentElement = false;
     if (localName.equalsIgnoreCase("Description")){
     sitesList.setDescription(currentValue);
     String Sub_arry=n+currentValue;
     Appscontent.Sub_arraylistdes.add(Sub_arry);
     String stringWithoutHTML=removeHTML(currentValue);
     System.out.println("description value-----&gt;"+n+att_ID+"------&gt;&gt;"+stringWithoutHTML);}
  </code></pre>
  
  <p>Now i have to run the app means the html tag is displayed with my description...Here how can I remove the HTML tag? please provide me solution for these ???</p>
  
  <p>i wish to display the description without Html tags...please provide e solution for these.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <pre><code>    if (localName.equalsIgnoreCase("Description")){
      sitesList.setDescription(currentValue);
      String Sub_arry=n+currentValue;
      StringBuffer sb = new StringBuffer();
      sb.append(Sub_arry);
       String newString = sb.toString();
        Appscontent.Sub_arraylistdes.add(newString);
         System.out.println("description value-----&gt;"+n+att_ID+"------&gt;&gt;"+newString);}
  </code></pre>
  
  <p><strong>EDIT:</strong></p>
  
  <pre><code>  public static String html2text(String html) {
    return Jsoup.parse(html).text();
      }
  </code></pre>
  
  <p>In endElement:</p>
  
  <pre><code>    if (localName.equalsIgnoreCase("Description")){
      sitesList.setDescription(currentValue);
      String Sub_arry=n+currentValue;
      Appscontent.Sub_arraylistdes.add(Sub_arry);
        String stringWithoutHTML=html2text(currentValue);
         System.out.println("description value-----&gt;"+n+att_ID+"------&gt;&gt;"+stringWithoutHTML);}
  </code></pre>
  
  <p>But i didn't get  the o/p..pls provide me solution for these ???  how can i remove the html tags in these description...</p>