How can I use the Android Management API to lock down a device to only one application without an EMM Console or any subscribed service?

59 views Asked by At

I'm looking to leverage the Android Management API to lock down an Android device to only one application without the need for an EMM Console or any subscribed service. Could someone provide a step-by-step guide or code example on how to achieve this using the Android Management API?

Thank you.

I've tried reading the API's documentation, but I'm having trouble understanding where to start and what to do.

1

There are 1 answers

0
Clark Samson On

To lock down an Android device to only one application using the Android Management API, you should implement Kiosk Mode in your application policy:

{
  "applications":  [
    {
      "packageName":  "com.example.yourapp",
      "installType":  "KIOSK"
    }
  ]
}

Replace "com.example.yourapp" with the package name of your desired application.
You may follow the Quickstart Guide to guide you on how to get started with the Android Management API. Follow the steps below to enroll an enterprise, create a policy, and provision a device.