execute reboot command from application

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

execute reboot command from application

Postby rReLmy » Sun Nov 29, 2009 10:19 pm

Hi

I'm trying to write a simple reboot app.

My problem is the phone won't reboot :P
I got a HTC Hero, rooted with su binary.

I can execute shell commands without problems.
#uname -a > /sdcard/uname
Works well.

I used the ShellInterface class from MarketEnabler (the only Sample I found to drop commands)
http://market-enabler.googlecode.com/sv ... rface.java

But when I execute the command "reboot" nothing happens! The command will be executed!

How can I get that working?
"adb logcat" wont tell me something, just nothing happens.
I run the app directly on my phone via eclipse (no emulator)
rReLmy
Freshman
Freshman
 
Posts: 6
Joined: Sun Nov 29, 2009 9:55 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 15 guests