Testing enterprise integration features is virtually impossible without a managed device. Google has published an application to help developers with this predicament. This video goes through the process of installing the Test DPC so that developers can test the enterprise application they worked on earlier in the course.
- [Instructor] In reality, manage application configurations…and lock task mode don't do anything…unless the device is provisioned…by a mobile device management system.…For this reason, it can make testing these features…rather challenging for us.…Thankfully, Google has published…an example device policy controller that we can use…to make sure our enterprise integrations work…the way we expect.…Google has published this application both…on the Play Store as well as here, open sourced on GitHub.…To make things a little easier for us in this video,…I have included the APA files that we will use…in the exercise files.…
Let's go ahead…and get this test device policy controller app set up…so we can test our application.…If you have not started a virtual device,…make sure to launch Android Studio and boot one up.…We can install this Test DPC app…by dragging and dropping the APK file…to the virtual device.…If this isn't working for you,…I've had trouble with this in the past as well.…You can use ADB instead.…We're going to do that now.…
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