ContentResolver cr = getContentResolver(); Cursor cur = cr.query(Uri.parse(\"content://sms/conversations/\"), null,null,null, null);
is not wo
I am not sure and i haven't tried yet, but i think this may be of your work.
Uri uriSms = Uri.parse("content://sms/inbox"); Cursor c = getContentResolver().query(uriSms, null,null,null,null);
I had found this earlier from this answer: How to delete an SMS from the inbox in Android programmatically?