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

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

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 - Multiple Notification Problem

Multiple Notification Problem

Put your problem here if it does not fit any of the other categories.

Multiple Notification Problem

Postby Paranoid » Tue Mar 10, 2009 4:41 pm

Ok I have 3 emulator instances, say, A, B and C.

When A receives a message from either B or C a notification is shown.

So if A receives a message from both B and C then there will be two notificaitons on the pull down list.

When A clicks on one of these notifications a new activity is started which displays the message that was sent.

The problem is that when the new activity is started it shows the message of the notification which was received 1st.

For example if B sends message "hello" and then C sends message "goodbye", even if the user clicks on the notification to display the "goodbye" message from C, the "hello" message from B shows up.

I was wondering then how this problem can be solved?

I believe it may have something to do with the Intent that is being passed to start the new Activity.

Thanks

P.
Paranoid
Junior Developer
Junior Developer
 
Posts: 23
Joined: Sun Oct 19, 2008 5:10 pm

Top

Postby Paranoid » Tue Mar 10, 2009 6:13 pm

Ok I'm now thinking it would be best for the notification to just show up a list containing the new messages, and then for the user to select from this list.

I would be happy to hear if anyone has a solution to the problem above however.
Paranoid
Junior Developer
Junior Developer
 
Posts: 23
Joined: Sun Oct 19, 2008 5:10 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot], MSNbot Media and 10 guests