Database does not update on new SMS

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Database does not update on new SMS

Postby metter » Wed Mar 11, 2009 5:28 pm

Hello there.

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!

Junior Developer
Junior Developer
Posts: 16
Joined: Tue Jan 06, 2009 2:00 pm


Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 3 guests