Android Utililty Methods Device Reboot

List of utility methods to do Device Reboot

Description

The list of methods to do Device Reboot are organized into topic(s).

Method

voidrebootDevice()
reboot Device
try {
    Process process = Runtime.getRuntime().exec("su");
    DataOutputStream os = new DataOutputStream(
            process.getOutputStream());
    os.writeBytes("reboot \n");
} catch (Throwable t) {
    t.printStackTrace();