diff --git a/samples/training/device-management-policy/AndroidManifest.xml b/samples/training/device-management-policy/AndroidManifest.xml new file mode 100644 index 000000000..30c15c45f --- /dev/null +++ b/samples/training/device-management-policy/AndroidManifest.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/samples/training/device-management-policy/_index.html b/samples/training/device-management-policy/_index.html new file mode 100755 index 000000000..7799330e7 --- /dev/null +++ b/samples/training/device-management-policy/_index.html @@ -0,0 +1,3 @@ +

This is a security-aware sample application that demonstrates the enforcement of device administration policies on Android 2.2 or above platforms.

+ +

Refer to the Enhancing Security with Device Management Policies class for detail. diff --git a/samples/training/device-management-policy/res/layout/activity_policy_setup.xml b/samples/training/device-management-policy/res/layout/activity_policy_setup.xml new file mode 100644 index 000000000..cf36ba094 --- /dev/null +++ b/samples/training/device-management-policy/res/layout/activity_policy_setup.xml @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + +