At this moment I'm making a quiz application in android 2.3 for some students. I don't want the students to be able to click on the navigation bar during the test, because then they can go to the internet browser to find answers for the quiz.
Is it possible to hide or block the navigation bar in android 2.3 so that I have less chance the students know how to go to the internet on the phone to find the answers? I know it is possible to hide the navigation bar on android 4.0+ but I also want this same feature in android 2.3 if it is even possible. I know that it is possible to block the back button (with onbackpressed
and then do nothing) and also the home button in a weird/bad way (with onkeydown
), but then there is still the third "recent used apps" button which I don't know how to block.