Skip to main content

Testing your app for Android for Work

Posted by, Rich Hyndman, Developer Advocate

image00.png

Testing is important whether you’re building a dedicated app for the workplace, rolling out new features, or making it easy for IT departments to deploy.

Test DPC is now available for you and is a fully featured, open-source, sample Device Policy Controller (DPC) which allows you to test your apps with any Android for Work feature. A DPC manages the security policies and work apps on devices using Android for Work. You can configure Test DPC to be either a device or profile owner to test all the Android for Work scenarios:

  • Profile Owner: Employees using their personal phones for work and allowing their company to own the work applications and data (i.e. bring your own device or BYOD)
  • Device Owner: Enterprises providing devices to employees and managing the entire device
  • Device Owner: Enterprises deploying devices for a narrow use case, such as a mall directory or restaurant menu (i.e. corporate owned, single use devices)

Test DPC simplifies testing and development because you can use it to set the kinds of policies an IT administrator might enforce. You can establish app and intent restrictions, set up managed work profiles, enforce policies, and can even set up fully managed Android devices — something you might find as an info board or kiosk in a public place.

The Test DPC app can be found on Google Play with the source on GitHub. Set up Test DPC as a device/profile owner on your device by checking out this user guide.

If you want to learn more about Android for Work and its capabilities, check out Android for Work Application Developer Guide for full guidance on optimizing your app for Android for Work.

Note: Your test Android device needs to run Android 5.0 or later and be able to support Android for Work natively.

hsDu?d=yIl2AUoC8zA hsDu?i=ANmR7OezC7Q:KaO8wYw92IA:-BTjWOF_D

Comments

Popular posts from this blog

A Google Engineer is reviewing all USB Type-C chargers on Amazon to inform customers which ones are safe for use on their devices

The USB Type-C take over has already started, and as this year comes to an end, we expect to see a few more smartphones and tablets hit the market bundling compatibility for the third-generation connection. As it stands, handsets that currently feature Type-C ports only ship with a single cable and that annoyingly doesn’t support computer connectivity, so if users want to transfer files to their devices, they have to purchase an additional wire or adapter. However, these accessories aren’t cheap, so customers veer towards the more affordable, third-party cables readily available on marketplaces, such as Amazon and eBay, but that’s not a good thing. Many consumers have reported that these chargers have caused harm to their handsets, so Google Engineer Benson Leung has taken it upon himself to purchase a selection of Type-C connectors from Amazon to test and see if they meet the standard specifications for use on his Nexus device. So far, Leung has been through seven cables and clai...