|
1 |
| -{\rtf1\ansi\ansicpg1252\cocoartf1404\cocoasubrtf340 |
2 |
| -{\fonttbl\f0\fmodern\fcharset0 Courier;} |
3 |
| -{\colortbl;\red255\green255\blue255;} |
4 |
| -\margl1440\margr1440\vieww23240\viewh19780\viewkind0 |
5 |
| -\deftab720 |
6 |
| -\pard\pardeftab720\sl280\partightenfactor0 |
7 |
| - |
8 |
| -\f0\fs24 \cf0 \expnd0\expndtw0\kerning0 |
9 |
| -Test Device Policy Controller (Test DPC) App\ |
10 |
| -=========================================\ |
11 |
| -\ |
12 |
| -Test DPC is an app designed to help EMMs, ISVs, and OEMs to test their applications and platforms in a Android for Work managed profile (i.e. work profile). It serves as both a sample Device Policy Controller and a testing application to flex the APIs available for Android for Work. It supports devices running Android 5.0 Lollipop or later. As of March 9, 2016, it also supports devices running the Android N Developer Preview.\ |
13 |
| -\ |
14 |
| -Pre-requisites\ |
15 |
| ---------------\ |
16 |
| -\ |
17 |
| -- Android N Preview SDK\ |
18 |
| -- Android Build Tools v23.0.2\ |
19 |
| -- Android Support Repository\ |
20 |
| -\ |
21 |
| -Getting Started\ |
22 |
| ----------------\ |
23 |
| -\ |
24 |
| -This sample uses the Gradle build system. To build this project, use the \'93gradlew assemble\'94 command or use "Import Project" in Android Studio.\ |
25 |
| -\ |
26 |
| -Please note that two apks will be generated when building this app: TestDPC-standard-*.apk is the apk targeting devices Android 6.0 and below while TestDPC-N-*.apk is targeting the Android N Developer Preview.\ |
27 |
| -\ |
28 |
| -Screenshots\ |
29 |
| ------------\ |
30 |
| -\ |
31 |
| -<img src="doc/setup.png" height="400" alt="Setup" title="Setup screen"/>\ |
32 |
| -<img src="doc/policy_management.png" height="400" alt="Policy Management" title="Home screen once the profile is setup" />\ |
33 |
| -<img src="doc/manage_app_restrictions.png" height="400" alt="Manage App Restrictions" title="Manage restrictions for apps in the work profile" />\ |
34 |
| -<img src="doc/work_profile_management.png" height="400" alt="Work Profile Management" title="Manage policies specific to the work profile" />\ |
35 |
| -<img src="doc/network_data_usage_stats.png" height="400" alt="Network Data Usage Stats" title="Analyze data usage for specific work apps or the entire profile" />\ |
36 |
| -\ |
37 |
| -Known Issues\ |
38 |
| -------------\ |
39 |
| -\ |
40 |
| -1. No support for mime type in cross-profile intent filter creation.\ |
41 |
| -2. No support for PackageInstaller APIs.\ |
42 |
| -3. Values are not saving correctly under Manage app permissions.\ |
43 |
| -\ |
44 |
| -Support\ |
45 |
| --------\ |
46 |
| -\ |
47 |
| -If you've found an error in this sample, please file an issue:\ |
48 |
| -https://github.com/googlesamples/android-testdpc/issues\ |
49 |
| -\ |
50 |
| -Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub.\ |
51 |
| -\ |
52 |
| -License\ |
53 |
| --------\ |
54 |
| -\ |
55 |
| -Licensed under the Apache 2.0 license. See the LICENSE file for details.\ |
56 |
| -\ |
57 |
| -How to make contributions?\ |
58 |
| ---------------------------\ |
59 |
| -\ |
60 |
| -Please read and follow the steps in the CONTRIB file.\ |
61 |
| -} |
| 1 | +Test Device Policy Control (Test DPC) App |
| 2 | +========================================= |
| 3 | + |
| 4 | +Test DPC is an app designed to help EMMs, ISVs, and OEMs to test their applications and platforms in a Android for Work managed profile (i.e. work profile). It serves as both a sample Device Policy Controller and a testing application to flex the APIs available for Android for Work. It supports devices running Android 5.0 Lollipop or later. As of March 9, 2016, it also supports devices running the Android N Developer Preview. |
| 5 | + |
| 6 | +Pre-requisites |
| 7 | +-------------- |
| 8 | + |
| 9 | +- Android N Preview SDK |
| 10 | +- Android Build Tools v23.0.2 |
| 11 | +- Android Support Repository |
| 12 | + |
| 13 | +Getting Started |
| 14 | +--------------- |
| 15 | + |
| 16 | +This sample uses the Gradle build system. To build this project, use the "gradlew assemble" command or use "Import Project" in Android Studio. |
| 17 | +Please note that two apks will be generated when building this app: TestDPC-standard-*.apk is the apk targeting devices Android 6.0 and below while TestDPC-N-*.apk is targeting the Android N Developer Preview. |
| 18 | + |
| 19 | +Screenshots |
| 20 | +----------- |
| 21 | + |
| 22 | +<img src="doc/setup.png" height="400" alt="Setup" title="Setup screen"/> |
| 23 | +<img src="doc/policy_management.png" height="400" alt="Policy Management" title="Home screen once the profile is setup" /> |
| 24 | +<img src="doc/manage_app_restrictions.png" height="400" alt="Manage App Restrictions" title="Manage restrictions for apps in the work profile" /> |
| 25 | +<img src="doc/work_profile_management.png" height="400" alt="Work Profile Management" title="Manage policies specific to the work profile" /> |
| 26 | +<img src="doc/network_data_usage_stats.png" height="400" alt="Network Data Usage Stats" title="Analyze data usage for specific work apps or the entire profile" /> |
| 27 | + |
| 28 | +Known Issues |
| 29 | +------------ |
| 30 | + |
| 31 | +1. No support for mime type in cross-profile intent filter creation. |
| 32 | +2. No support for PackageInstaller APIs. |
| 33 | +3. Values are not saving correctly under Manage app permissions. |
| 34 | + |
| 35 | +Support |
| 36 | +------- |
| 37 | + |
| 38 | +If you've found an error in this sample, please file an issue: |
| 39 | +https://github.com/googlesamples/android-testdpc/issues |
| 40 | + |
| 41 | +Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub. |
| 42 | + |
| 43 | +License |
| 44 | +------- |
| 45 | + |
| 46 | +Licensed under the Apache 2.0 license. See the LICENSE file for details. |
| 47 | + |
| 48 | +How to make contributions? |
| 49 | +-------------------------- |
| 50 | + |
| 51 | +Please read and follow the steps in the CONTRIB file. |
0 commit comments