Once you have a device policy controller installed and managing a device, the next step is to test your app's enterprise integration features. Jon-Luke shows how to use the test device policy controller to change and demonstrate application configurations using the example app.
- [Narrator] Now that our test device policy controller is…installed and our device is provisioned.…We can test our application's managed configurations.…First, we need to install our app.…Again, I've included the APK in…the exercise files for easy use.…We should use this method of delivery over deployment…directly from Android Studio because,…there are known issues between work profiles and,…the instant run feature in Android Studio.…You can drag and drop the APK to install it,…or you can use ADB like we did in the last video.…
We're going to use this method, again.…Open up Android Studio, and go to the terminal…and let's run ADB install, again,…copy our exercise file path and paste.…And point to My Enterprise Application, back to the device.…Now you can see that our application has been installed and…two versions of the application exist,…one for personal and one for work.…Before we change any managed configurations, though,…let's open up our app to see how…it behaves without configurations.…
Make sure you open up the managed version.…
Instructor Jon-Luke West first reviews the key concepts of enterprise mobility management in Android: important APIs, the role of the device administrator, and the types of devices you should plan to target. He reviews the three primary use cases, including bring your own device (BYOD) and corporate-owned single-use (COSU) scenarios. Then he dives straight into the code, showing how to implement three enterprise integration features: managed application configurations, app pinning, and locked task mode. Finally, he shows how to test the features on a managed device.
- Enterprise mobility management (EMM) and mobile device management (MDM)
- Android EMM APIs
- Use cases: BYOD, work-manage devices, and COSU
- Checking restrictions and restriction changes for managed configurations
- App pinning and lock task mode
- Testing enterprise integration features using Test DPC