provision without nfc
Issue by vikas0
Tuesday Oct 10, 2017 at 11:44 GMT
Originally opened as https://github.com/googlesamples/android-DeviceOwner/issues/4
the device i want to install device owner does not have nfc. i have tested with adb shell set device owner for test purpose, but how do i do it to set up unprovisioned device?
Comment by adatoo
Monday Oct 16, 2017 at 20:45 GMT
Not sure if this answers your query. The command to enable device owner is:
adb shell dpm set-device-owner com.example.android.deviceowner/.DeviceOwnerReceiver
You need to ideally do this on a device that has just been factory reset.
I added a section on how to test Device Owner application on a device using adb, please reopen this if you still have problems.