The SMS content provider is  not yet public. Your code might not work
on later versions even if you manage to make it working.

And of course, without any documentations, you can only keep on trying
to make it working. Pull out the sms DB from the emulator, and may be
you can find some hints...

Thanks and Regards,
Kumar Bibek

On Apr 26, 12:45 pm, Manoj <[email protected]> wrote:
> Hi folk,
> I am trying to delete sms from the inbox,
> I am using the following statement
>
> getContentResolver().delete(Uri.parse("content://sms/inbox"), "_id=2",
> null));
>
> but its not working.
>
> Does anybody has any suggestion for doing this.
>
> Manoj
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
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

Reply via email to