D
D
deleted-mezhevikin2012-05-03 20:19:21
Java
deleted-mezhevikin, 2012-05-03 20:19:21

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

5 answer(s)
M
Max, 2012-05-03
@7workers

seal or shove in a homemade case

G
gaelpa, 2012-05-03
@gaelpa

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.

A
anmipo, 2012-05-03
@anmipo

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"/>

M
Mikhail Tsarev, 2012-05-03
@aitras

And he will not leave the restaurant with this tablet? :)

S
silentnuke, 2012-05-03
@silentnuke

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 question

Ask a Question

731 491 924 answers to any question