Answer the question
In order to leave comments, you need to log in
Is it possible to prevent exit from an android application using soft keys?
The point is that the android tablet will be used as a menu in a restaurant, I would like the user to not be able to exit the application using a soft key.
Is it possible?
Answer the question
In order to leave comments, you need to log in
Install the application as a “desktop” (I don’t know how they call it correctly), then it will go to the “top level” and everything is ok.
The question remains about the ways to get into the settings: through the top menu in ICS, through the edit line, whether the menu button for the desktop is redefined.
You can try to configure the application as a launcher. It will be called by pressing Home, and it will be possible to launch something else only from it.
Theoretically, for this it is enough to add the main activity to the intent-filter
<category android:name="android.intent.category.HOME"/>
hmm, as an option, redefine the actions of the software buttons in the code, what's the problem?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question