Possible Duplicate:
Programmatically switching off Android phone
Is it possible to write an application that turns off (not reboot) an Android device? For example, it plays a song and after 30 minutes, turns the device off, automatically.
Possible Duplicate:
Programmatically switching off Android phone
Is it possible to write an application that turns off (not reboot) an Android device? For example, it plays a song and after 30 minutes, turns the device off, automatically.
Already aswered here.... Why does my app throw an `android.permission.REBOOT SecurityException`?
Unless you have the manufacturer key to sign your app/or if your device is rooted..it is not possible to turf it off.