title: how I can show a html/php code in a toast
body: <p>I read data from php file a put in a array.and i want show description in a toast but toast show html/php tags. how i can remove it?</p>
  
  <p>News.java</p>
  
  <pre><code>public class News {
  
      int information_id;
      int language_id;
      String title;
      String description;
  
      public int getinformation_id() {
          return information_id;
      }
  
      public int getlanguage_id() {
          return language_id;
      }
  
      public String gettitle() {
          return title;
      }
  
      public String getdescription() {
          return description;
      }
  
      public void setinformation_id(int information_id) {
          this.information_id = information_id;
      }
  
      public void setlanguage_id(int language_id) {
          this.language_id = language_id;
      }
  
      public void settitle(String title) {
          this.title = title;
      }
  
      public void setdescription(String description) {
          this.description = description;
      }
  
  }
  </code></pre>
  
  <p>Main.java </p>
  
  <pre><code>ArrayList&lt;News&gt; news;
  public ArrayList&lt;String&gt; infoid, lanid, titlenews, desnews; 
  JSONObject json_data;
  JSONArray jArray;
  
  private void get_news() {
  
      try {
          url = "http://www.learnroid.ir/bigshop/get_news.php";
  
          dbGetData = new DbGetData();
          new Thread(new Runnable() {
              public void run() {
                  data = dbGetData.getDataFromDB(url);
  
                  runOnUiThread(new Runnable() {
                      @Override
                      public void run() {
                          news = parseJSON(data);
                      }
                  });
              }
          }).start();
  
          Toast.makeText(context, "Please wait ....", 5000).show();
      } catch (Exception e) {
  
      }
  }
  
  public ArrayList&lt;News&gt; parseJSON(String result) {
      news = new ArrayList&lt;News&gt;();
  
      try {
          jArray = new JSONArray(result);
          for (int i = 0; i &lt; jArray.length(); i++) {
              json_data = jArray.getJSONObject(i);
              n = new News();
  
              information_id = json_data.getString("information_id");
              language_id = json_data.getString("language_id");
              title = json_data.getString("title");
              description = json_data.getString("description");
  
              n.setinformation_id(Integer.parseInt(information_id));
              n.setlanguage_id(Integer.parseInt(language_id));
              n.settitle(title);
              n.setdescription(description);
  
              infoid.add(information_id);
              lanid.add(language_id);
              titlenews.add(title);
              desnews.add(description);
  
              news.add(n);
  
              /*  int information_id;
              int language_id;
              String title;
              String description;*/
          }
          showdata();
  
          size = infoid.size();
          Toast.makeText(context, String.valueOf(size), Toast.LENGTH_SHORT).show();
  
      } catch (JSONException e) {
      }
      return news;
  }
  </code></pre>
  
  <p>// for get data from php and put in array lists infoid, lanid,.............</p>
  
  <p>and i create a function for show data from array</p>
  
  <pre><code>    private void showdata() {
  
          Object[] Arraydes = desnews.toArray();
          Object[] Arraylan = lanid.toArray();
  
          for(int i = 0; i &lt; Arraydes.length ; i++){
              String s = Arraylan[i].toString();
              if (s.equals("2")) {
        Toast.makeText(context, String.valueOf(Arraydes[i]),Toast.LENGTH_LONG).show();
  
              }
          }
  </code></pre>
  
  <hr>
  
  <p>data form table is:</p>
  
  <p>information_id: 6
  language_id: 1
  title: Hot News
  description: &lt;p&gt; Delivery Information&lt;/p&gt;</p>
  
  <p>But i need Delivery Information only for show in Toast</p>
  
  <p>my toast text is "&lt;p&gt; Delivery Information&lt;/p&amp;gt"</p>