title: How to read and delete messages log in call logs?
body: <p>I can read and delete all call log and sms/mms message using below content uris.</p>
  
  <pre><code>ContentResolver cr;
  Cursor cursor = cr.query(contentUri, null, where, null, null);  // read
  cr.delete(contentUri, where, null); // delete
  
  Calls.CONTENT_URI; // Call Log Uri.
  Sms.CONTENT_URI // SMS Uri // Uri.parse("content://sms")
  Mms.CONTENT_URI // MMS Uri // Uri.parse("content://mms")
  </code></pre>
  
  <p>So I can get count of logs. and delete them.</p>
  
  <p>But Text message logs (in contacts app. see attached images) are not deleted. (Messages are deleted)</p>
  
  <p>My test device is Samsung Galaxy S4 mini.</p>
  
  <p><img src="https://i.stack.imgur.com/3JwFa.png" alt="enter image description here">
  <img src="https://i.stack.imgur.com/lRVvG.png" alt="enter image description here"></p>