How do I override a power button in Android ?

A

AC Question

How to override a power button in android ?

Upon Click of a power button in android,it should not lock the application instead it should stay awake
 

nahoku

Well-known member
Jan 26, 2013
3,300
0
0
Visit site
Re: How to override a power button in android ?

I'm not sure what you're getting at. If I click my power button while in any application or with the screen on, all it does is turn off the screen.