Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Database does not update on new SMS

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!

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

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 6 guests