Hi there...
At the Erel 1st post:
https://www.b4x.com/android/forum/threads/device-owner-tasklock-kiosk-apps-2017.81765/
Says:
Existing user accounts on the device must first be removed (Settings - Accounts).
We are talking about adminstrator accounts?... because that option is on some tablets
Settings->Security->Administrators
We are talking about accounts on Facebook, Google ?
or we are talking about Administrator Users - because already delete them and tried again the command (ofcourse in Android 5+) - got that:
D:\Project-MVT\adb>adb shell dpm set-device-owner mvt.client/anywheresoftware.b4
a.objects.AdminReceiver2
java.lang.IllegalStateException: Trying to set device owner but device is alread
y provisioned.
at android.os.Parcel.readException(Parcel.java:1554)
at android.os.Parcel.readException(Parcel.java:1499)
at android.app.admin.IDevicePolicyManager$Stub$Proxy.setDeviceOwner(IDev
icePolicyManager.java:3202)
at com.android.commands.dpm.Dpm.runSetDeviceOwner(Dpm.java:114)
at com.android.commands.dpm.Dpm.onRun(Dpm.java:82)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
at com.android.commands.dpm.Dpm.main(Dpm.java:38)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:257)
WHAT option exactly means Erel (from the post i can understand that means the option got accounts for Facebook, Google etc)... ?
ps: hope not need root device...
How i can check where device provisioned ?