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 - Help my brain hurts,,, how do I turn off the cell phone

Help my brain hurts,,, how do I turn off the cell phone

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

Help my brain hurts,,, how do I turn off the cell phone

Postby bobbyrossberg » Mon Aug 17, 2009 2:33 am

I am having a the hardest time trying to figure out how I can shutdown the cell phone in my program.
I have tried coming at this every which way and keep running into a wall.
Today I wrote a c program and compiled it with the NDK software. It's not working I was attempting to #include <sys/reboot.h> and trying the command reboot(RB_POWER_OFF). Seems that I get no response from doing so.

Is there anyone who may be able to help me here? How can I turn off the phone in a program? There must be a way!
bobbyrossberg
Freshman
Freshman
 
Posts: 2
Joined: Sun Aug 16, 2009 10:31 pm

Top

Postby Shanytc » Mon Aug 17, 2009 8:33 am

- Shany -
Shanytc
Junior Developer
Junior Developer
 
Posts: 17
Joined: Fri Aug 14, 2009 11:00 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 10 guests