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
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en