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 - Help Needed - Broadcast Reciever

Help Needed - Broadcast Reciever

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

Help Needed - Broadcast Reciever

Postby deerain » Thu Nov 05, 2009 11:09 am

Hi guys I am new to programming android and I currently got an idea for a app but I keep getting stuck.
Basicaly I got a service that I start and invoke methods using intents, I eventually worked out how to do that the stuff online is not that easy to follow.
So this is the problem I also want to send data back from the service to the main app that displays a graph.
I Binded the service but I not sure if thats the best way to go about it. I tried broadcast reciever but I couldn't get it to "findViewById", because its not a activitiy, I also tried launching a new activity from the broadcast reciever but it wouldnt do that either.
So which way should I approch this, I also realise that prob the way to do it is to put the data into a sql database then get the ui to get data from there but I wanted to do one thing at a time to stop my head exploding :).

Hope you guys can help :)

**Updated

Ok been reading a book and it appears :) I might have missed a "context." before startActivity and so I would be able to fire off a new activity to update the UI. :) will try putting it into practice later :)
deerain
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Nov 05, 2009 10:55 am

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 6 guests