Reputation: 974
Is there any way to restart a device per code from within android. I can highly customize all software on the device (tablet). As Backgroundinfo: I want a timer that restarts the device after a defined count if he did not get reseted.
Edit:
If there there is no Buildin-Way is it possible to do this anyway?
Upvotes: 2
Views: 527
Reputation: 15267
In general Google dont allow third party apps to Reboot device below are few link might be helpful
http://groups.google.com/group/android-platform/browse_thread/thread/daf7c685e020d296
Upvotes: 2
Reputation: 352
This isn't possible from within an app, I believe.
The intent for rebooting the device (ACTION_REBOOT, if I recall, but I'm happy to be corrected!) can only be called from the system itself, not from any software residing on it.
(See the Android reference docs here.)
Upvotes: 1