tags:

views:

164

answers:

1

Is it possible to lock the screen from an app?

ie, just like pressing the power button?

A: 

yup I think you could. Take a look at that lock screen class . also you 'd take a look at the related class.

mgpyone
None of this is part of the Android SDK. Do not use it.
CommonsWare