Lock Android Device to Run Only One App

前端 未结 3 1964
别那么骄傲
别那么骄傲 2020-12-29 08:35

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 wou

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-29 09:28

    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

提交回复
热议问题