0

I have an android application, when user presses home or back key, android application will be minimized.

I want to open this application after pressing back or home key. (like long press in home key and selecting minimized app - I want application do this automatically).

What should I do? Please help me.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
  • search for kiosk mode in android – Vivek Mishra Mar 07 '16 at 10:54
  • surely this isn't something you can do in your application but rather on your phone instead ? Like on my S5 I can map anything I want. So I can map an app to open for example, but that is done on my phone and not in app – thatOneGuy Mar 07 '16 at 11:07

1 Answers1

0

I guess what you need is Kiosk Mode. it can disable Android features that can be used to leave your app. The following features are affected:

  • The back button
  • The home button
  • The recent apps button
  • The power button
  • The volume buttons
arsena
  • 1,935
  • 19
  • 36