title: how to delete all sms of a specific contact number in android
body: <p>I have the following code which delete all the sms conversation ,</p>
  
  <pre><code>Uri inboxUri = Uri.parse("content://sms/conversations");
  int count = 0;
  Cursor c = context.getContentResolver().query(inboxUri , null, null, null, null);
  while (c.moveToNext()) {
      try {
          // Delete the SMS
          String pid = c.getString(0); // Get id;
          String uri = "content://sms/" + pid;
          count = context.getContentResolver().delete(Uri.parse(uri),
                  null, null);
      } catch (Exception e) {
      }
  }
  return count;
  </code></pre>
  
  <p>but i want to delete sms of a specific contact number, What to do?</p>