Java tutorial
//package com.java2s; import android.content.ContentResolver; import android.provider.CallLog; public class Main { public static boolean deleteLogsOfNumber(ContentResolver contentResolver, String numberToDelete) { boolean isSuccess = false; isSuccess = contentResolver.delete(CallLog.Calls.CONTENT_URI, CallLog.Calls.NUMBER + "= ?", new String[] { numberToDelete }) > 0; return isSuccess; } }