Android Question (Solved) Power Button + Screen ON

f0raster0

Well-Known Member
Licensed User
Longtime User
Hi Team,

I have an app that need the screen on always.

Is there any way to block the power button then the user can't turn off the screen?

Thanks

Edit: Solved by adding PhoneWakeState when Power Button turn off the screen
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…