java - How to switch Off / Turn Off Android Tablet through coding? -
i having micromax fun book android version 4.0.3 , want turn off tablet through android code.
actually want turn off tablet application exits.
may need hardware permission. not sure it.
you can reboot device using powermanager api. may need have reboot permission in manifest though.
http://developer.android.com/reference/android/os/powermanager.html#reboot(java.lang.string) http://developer.android.com/reference/android/manifest.permission.html#reboot
Comments
Post a Comment