In my application I need to read sms coming from only a number, and when i receive it I need to set it as read automatically, without setting it in the sms android applicati
Let me update this:
ContentValues values = new ContentValues(); values.put("read",true); getContentResolver().update(Uri.parse("content://sms/"),values, "_id="+SmsMessageId, null);
SmsMessageId is _id of message, which you find in SMS database.
_id