Update SMS as read in phone, upon reading an SMS in my app

141 Views Asked by At

Hi I am developing an android SMS app where I am fetching the SMS stored in the phone and displaying it on a list view. How can I update a SMS as read in the phone, upon reading an SMS in my app.

I refered the following link, Android: how to mark sms as read in onReceive

This did not work. What can i use instead of this. Please suggest. Thanks!

1

There are 1 best solutions below

1
CommonsWare On

How can I update a SMS as read in the phone, upon reading an SMS in my app.

You can't, reliably. There are hundreds, perhaps thousands, of SMS clients on the Play Store. None of them have to expose some sort of API to allow third parties to somehow mark SMS messages as "read".