android - Screen pinning by startLockTask -


i'm building android 5.1 app , have found useful method startlocktask enter kiosk mode. works well. have 2 small problems, afterwards should perfect.

when in kiosk mode (startlocktask called) messages printed telling how exit kiosk mode (when navigation bar tapped). don't want such messages. how can disable that?

second, unfortunately power button not blocked. there possibility lock power button (so power button has no functionality anymore)?


Comments

Popular posts from this blog

html - How to custom Bootstrap grid height? -

javascript - pass values from mssql to views in node -

javascript - Understanding ExtJS Framework Syntax -