I need to disable Home and other system buttons in my Android application.
Example: MX Player
(see at Google Play) - you can press "lock" icon at player screen and it locks all hardware and software system buttons.
It works fine WITHOUT ROOTING.
I tested it on some devices with different Android versions. I tried to disassemble Kids Lock (plugin) but has no clue how it works yet.
I need same solution like the Kids Lock (plugin) for MX Player
:
- disable Home, Back and all other system buttons.
Any suggestions?