Lock Android Device to Run Only One App

故事扮演 提交于 2019-11-29 02:34:05

问题


I was wondering if anyone had a relatively simple solution for us.

We created an app to be used by our clients on android devices that we give them.

We would like the client to only be able to use our app and have limited access to everything else (i.e. settings, email etc.) What is the best way to achieve this without using 3rd party apps.

Thank you in advance!


回答1:


This may not help but the L preview has a task locking feature included that may be of some insight, I'm not aware of how it functions as yet

Task locking

The L Developer Preview introduces a new task locking API that lets you temporarily restrict users from leaving your app or being interrupted by notifications. This could be used, for example, if you are developing an education app to support high stakes assessment requirements on Android. Once your app activates this mode, users will not be able to see notifications, access other apps, or return to the Home screen, until your app exits the mode.

http://developer.android.com/preview/api-overview.html

Hope this helped




回答2:


  1. Suppress the Title Bar & Make Your App a Launcher
  2. Root Your Tablet
  3. Modify System Files and Settings to hide the soft keys

On the next link you can find the complete solution for the Nexus 7 (2012)

http://thebitplague.wordpress.com/2013/04/05/kiosk-mode-on-the-nexus-7/




回答3:


simple Answer is:

  1. Lock Install button with modify system settings.
  2. Create your own customized-ROM and apply your requirement to that ROM.

more info, visit XDADavelopers



来源:https://stackoverflow.com/questions/26426654/lock-android-device-to-run-only-one-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!