Disable Home button in Android 4.0+

Solution 1:

There is no way to intercept the home button on Android, unless you make your app the home screen. This is for security reasons, so that malicious apps cannot take over your device by overriding all the buttons that can exit. The home button is the one sure shot way to be able to leave any app.

If you want to handle the HOME button, implement a home screen.

Solution 2:

Mucking with the home button is disabled for security/reliability reasons in ICS. (Most apps use it for evil than good)

Please refer to the following questions for workarounds.

  1. how can I disable android 4.0 home button
  2. override Home key in android ICS
  3. Disable Home Button in Android ICS (4.0)

Seems like the only way is to implement a home screen