Android : is it possible to disable home, return and menu buttons ?

You must Login before you can answer or comment on any questions.

Hi all, I am working on an app that will be used in a restaurant.

Since it is kind of a kiosque app, the users shouldn't be able to interact with the return, home and menu buttons because they should remain in the app "no matter what".

Is there a way to do this by handling these buttons (home, return, menu)? What's the "code" (designation) for these 3 butttons ?

(for those who wonder, there will be an "exit app button" but it will be hidden enough so as not to be found by a user who is just fiddling around).

Your help would be much appreciated.

Yann PS : I did a search here and only found answers over 2 years old so I thought it was worth asking in order to get a fresh answer on this.

1 Answer

I think it is not a good idee to block this buttons, but if you want you can code 'return false' in event listener to this special events.

Rainer

Your Answer

Think you can help? Login to answer this question!