enterprise-samples icon indicating copy to clipboard operation
enterprise-samples copied to clipboard

Why PACKAGE DOWNLOAD LOCATION is nothing?

Open codingjeremy opened this issue 6 years ago • 2 comments

Issue by ghost Monday Nov 28, 2016 at 07:48 GMT Originally opened as https://github.com/googlesamples/android-NfcProvisioning/issues/2


Why this sample don't contain EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION? It seems require.

Document says "A String extra holding a url that specifies the download location of the device admin package. When not provided it is assumed that the device admin package is already installed" REF: https://developer.android.com/reference/android/app/admin/DevicePolicyManager.html

But, We must do factory reset to enable DeviceOwner feature, therefore, device don't have admin package.

codingjeremy avatar Sep 10 '19 20:09 codingjeremy

Comment by rsviolin Wednesday Mar 28, 2018 at 17:02 GMT


I have the same problem.

codingjeremy avatar Sep 10 '19 20:09 codingjeremy

Comment by KunYi Thursday May 03, 2018 at 15:42 GMT


check the below information about "nfcprovisioning.txt" file https://developer.android.com/work/guide#provision-a-device-owner

codingjeremy avatar Sep 10 '19 20:09 codingjeremy