Can we switch off an Android phone programmatically?
I am using following snippet but it didn\'t work for me.
KeyguardManager keyguardManager = (Keyg
You cannot do this from an ordinary SDK application. Only applications signed with the system firmware signing key can do this.