I a having a problem with the database (Uri.parse("content://sms/inbox");)
I want to list all SMS, which works great. However, now I am trying to implement a function so that the list gets updated dynamically when a new SMS is received.
For this I am using a BroadcastReceiver which informs me, when a new message has been received. But when I then try to read it from the database, the new message is not yet there. It is only shown when I restart the application.
What am I missing? Do I have to use some refresh method or ...?
Thanks for your help!