Is it possible to send a script to the MobiControl app, from another app?
Why not just use the long press on the "back"-button and then select admin mode?
Kind Regards John
Im some instances (Single mode app) it's not possible to use the long press on the backbutton..
Is your problem related to any script command(s) in general, or related to the more specific function of turning the kiosk on/off?
Please note that entering admin mode is not meant as a way to exit kiosk mode. Many other policies will likely also be disabled temporarily and this can pose serious security risk.
From your second post, I'm even more confused about your use case and security. Sending _adminmode scipt command do not need entering of correct device administrator password while long pressing the back-key require such password input. So, is somekind of password or similar mechanism needed to disable kiosk mode in your case?
Also, do you need the mechanism to work even if the device or server is offline?
Sorry for the confusion, i just need to invoke the _adminmode on/off from another android application, it it possible to send these commands to the mobicontrol app, on an android device?
My app -> "_adminmode on" script -> MobiControl Android app
Yes, i need to use the mechanism while the device and/or server is offline.