I am writing a launcher for kids, it has its own applications and folder and features. so when kids wants to play with parents device , parents run this launcher and they can be sure that their kids are not able to mess with their data. and to exit from this launcher ,parents should enter their password.
so when kids are using this launcher the Home button and Back button also the other hardware keys should not work, cause for example if the back button works the kid can leave the launcher while to exit from this launcher parents should enter their password.
any idea that how can i disable hardware keys or any other way to handle it?