seba
seba

Reputation: 974

Restart the whole device from Android

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

Answers (2)

nihilogist
nihilogist

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

Related Questions