Hi developers.............
Thanks for the replies. I have a problem from last
few days. I want to delete sms from my inbox. I have used this code
for deletion.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Uri uri = Uri.parse("content://sms/inbox");
Cursor c1= getContentResolver().query(uri, null, null,null,null);
int thread_id = c1.getInt(1);
getContentResolver().delete(Uri.parse("content://sms/
conversations/" + thread_id),null,null);
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
But it dose not work . Please help me if any thing wrong and give me
the right code. Thanks in advance .
Suman.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---