Saturday, 9 June 2012

Delete All Call log in Android

Write Below Line into your Button on Click Event.

this.getContentResolver().delete(CallLog.Calls.CONTENT_URI, null, null);


And Give Below Permission into your Android manifest.XML file.

<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.READ_LOGS"/>
<uses-permission android:name="android.permission.WRITE_CONTACTS"/>


Enjoy :-)

Don’t forget to provide feedback or follow this blog, if you find this blog is useful.

3 comments:

  1. I want to use pin less calling with registered numbers but i also want to control my bill by viewing and tracking call history online from all registered numbers .

    ReplyDelete
    Replies
    1. Hello,

      Sorry, I don't know about this.

      Delete
  2. I want to use pin less calling with registered numbers but i also want to control my bill by viewing and tracking call history online from all registered numbers .

    ReplyDelete