I want to delete a particular SMS before going into inbox. Is it possible ??
I tried it using ..
context.getContentResolver().delete(
Uri.parse("content://sms//"),"address=? and body=?", new String[{
currentMessage.getOriginatingAddress(), "RECORD"
});
it delete the SMS but not the current one rather the one which is coming from same address and having content = "RECORD".