• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps power button listener

I want to develop a lock app for android for which i want to call activity whenever the user press the power button once the lock is activated. Whenever the user press the power button to screen on at that time the activity on which i ask for pattern should be call up and after correct pattern only the activity will close.
 
As this is an application development question I've moved it to the appropriate forum (there's a sticky post in Android Questions explaining why you would be wasting your time there ;))
 
Back
Top Bottom