Search code examples
androidback-buttonkiosk-modeandroid-homebuttonminimized

how come back to Application after pressing home button


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.


Solution

  • 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