Skip to content

Commit c140116

Browse files
author
Tony Mak
authored
Update README.md
1 parent 2c54144 commit c140116

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,28 @@ This sample uses the Gradle build system. To build this project, use the "gradle
1313
Provisioning
1414
------------
1515

16-
You can find varioud kinds of provisioing methods [here](https://developers.google.com/android/work/prov-devices#Key_provisioning_differences_across_android_releases). Let's take QR and NFC provisioning as an example.
16+
You can find varioud kinds of provisioing methods [here](https://developers.google.com/android/work/prov-devices#Key_provisioning_differences_across_android_releases). Let's take a few of them as an example.
1717

18-
#### QR provisioing (N+ only) ####
18+
#### QR code provisioing (Device Owner N+ only) ####
1919
1. Factory reset your device and tap the welcome screen in setup wizard 6 times.
2020
2. The setup wizard prompts the user to connect to the Internet so the setup wizard can download a QR code reader.
2121
3. Modify (if needed) and scan [this QR code] (http://down-box.appspot.com/qr/nQB0tw7b).
22-
3. Follow onscreen instructions
22+
4. Follow onscreen instructions
2323

24-
#### NFC provisioning ####
24+
#### NFC provisioning (Device Owner) ####
2525
The [NFC Provisioning app](https://github.com/googlesamples/android-NfcProvisioning) is used for *device owner* provisioning.
2626
1. Push the nfcprovisioning.txt file to your device:
2727
`adb push nfcprovisioning.txt /sdcard/`
2828
2. Open the NFC Provisioning app and ensure that com.afwsamples.testdpc is auto-populated.
2929
3. Bump the devices and touch to beam.
3030
4. Follow onscreen instructions on the target device.
3131

32+
### adb command (Device Owner) ###
33+
adb shell dpm set-device-owner com.afwsamples.testdpc/.DeviceAdminReceiver
34+
35+
### Work profile ###
36+
The easiest way is to launch the Test DPC app in launcher and follow the onscreen instructions.
37+
3238
Screenshots
3339
------------
3440

0 commit comments

Comments
 (0)