Hi,
I have problem with deletion sms with messageId=0. I can't delete such a message. There is no problem with deletion other messages but first message taken from inbox has always message Id=0 and I can't delete it. I use code below for deletion.
Uri SMS_CONTENT_URI = Uri.parse("content://sms"); Uri deleteUri = Uri.withAppendedPath(SMS_CONTENT_URI, String.valueOf(smsList.get(currentSmsIndex).getId())); int count = context.getContentResolver().delete(deleteUri, null, null);
Do you have any idea?
Regards, Pobudzio