Clear Missed Calls Error In Android.database.sqlite
I have the following code for clear missed logs: ContentValues values = new ContentValues(); values.put(Calls.NEW, 0); values.put(Calls.IS_READ, 1); StringB
Solution 1:
Calls.IS_READ
was introduced in API level 14.
You should only set this value if the device API is greater or equal to 14 :
values.put(Calls.NEW, 0);
if (android.os.Build.VERSION.SDK_INT >= 14)
values.put(Calls.IS_READ, 1);
Post a Comment for "Clear Missed Calls Error In Android.database.sqlite"