Disable home button for staying in current screen for 4.0+

2.5k views Asked by At

I have to create an app where the user can't go out of it.

The device is fixed in a car and should act as a login and info service. The user in the car should not go out of this app.

So I really have to find a solution to disable the home button.

Can you give me any solutions?

2

There are 2 answers

0
Gru On

You can not override home button.

Check this question

Read the comment of Commansware :)

0
Raghunandan On

Its not possible to disable home button in android 4.0 for security reasons.

If you want to control home button implement a home screen.

Check the below links

Disable Home Button in Android ICS (4.0)

Disabling home button on android 4.2