简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM