I am trying to use
Uri uri = Uri.parse("content://sms/inbox");
Cursor c= getContentResolver().query(uri, null, null ,null,null);
from this blog but I stumbled upon this answer from @CommonsWare and his blog here
All this is around 2 years old.
Is this code still working on the android 4.1.1 or has been blocked. I am facing a problem in receiving a broadcast for SMS received in Samsung Galaxy SIII (I have posted another question here.)
Therefore looking at alternatives to make it work.
My Question
Is it valid to use content://sms/inbox
and does it work on all version of android?