Android Question Kiosk mode problem

nibbo

Active Member
Licensed User
Hi all

I am trying to install an app launcher and set up the device in kiosk mode following the tutorial posted by Erel.
The app installs and runs just fine but I get a problem when I try to run the shell scripts to set the device owner.

I issue the command:
B4X:
adb shell dpm set-device-owner CompanyName.Launcher/anywheresoftware.b4a.objects.AdminReceiver2
But I get the error:
Error: Unknown admin: ComponentInfo{CompanyName.Launcher/anywheresoftware.b4a.objects.AdminReceiver2}
Does anyone know where the problem may be?

The device is android 5+ and there are no other admin accounts showing in the device setting.

Thanks in advance.
 
Top