Skip to content Skip to sidebar Skip to footer

Android - Preventing Users Without Special Permissions To Exit The Application Or Power Off The Phone

I have the following requirement. I need to prevent not admin users exit the Android application. So, is there any way to disable the followings long press home button event lo

Solution 1:

There is no notion of an 'admin user' in Android. You can't really do this without developing your custom Android firmware. The hardware/system buttons are controlled by the system, so you cannot disable or customize them.


Post a Comment for "Android - Preventing Users Without Special Permissions To Exit The Application Or Power Off The Phone"