I am developing a security apps, when the phone is lost or stolen, the phone screen is locked automatically and if the theft tries to login to the phone by randomly enters password, the phone will record until 3 failed attempts.
After 3 failed attempts, the current layout will change to a black layout with nothing inside the layout, and I will set the timer for this layout, during this layout no any key can wake this layout up unless the timer is expired. I have successfully implement the timer but when I pressed the back button on the phone the layout back to the login layout. How can I disable all the phone buttons? Is it possible? Thanks