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
[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 - make Activity into Service

make Activity into Service

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

make Activity into Service

Postby monarcharthas89 » Sun Feb 20, 2011 12:17 pm

have an Activity which records and prints all the sensors data such as acceleration, compass, light etc ... into a txt file. I am wondering how can this Activity becomes Service and keep all of it methods (recording and printing) running at background (I have several methods which are called automatically every interval, therefore I want those methods run continuously at background as well) or even it is possible to do such a thing. Please help. Thank you in advanced
monarcharthas89
Freshman
Freshman
 
Posts: 5
Joined: Thu Jun 17, 2010 10:44 pm

Top

Re: make Activity into Service

Postby strider2023 » Mon Feb 28, 2011 1:08 pm

Hi monarch,

Try reading the content provided in this blog. I think this will answer all your questions.
http://saigeethamn.blogspot.com/2009/09/android-developer-tutorial-for_04.html
strider2023
Senior Developer
Senior Developer
 
Posts: 126
Joined: Tue Mar 02, 2010 6:34 am
Location: Chennai, India

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 11 guests