Is it possible to send a script to the MobiControl app, from another app?

Is it possible to send a script to the MobiControl app, from another app?

We have multiple Android devices, in KIOSK mode, each which we can enable/disable from the MobiControl panel using the _adminmode on/off

This requires that the android device have access to the internet.
My question then goes on, would it be possible that, through our on android app, that we could enable/disable the KIOSK mode?
Lets say we have a simple app with Admin On/Off, using the slider, it would invoke the MobiControl app, telling it to enable or disable KIOSK mode, just as the MobiControl site, sending scripts to the device.

Thanks in advance.         

4 Answers

Order By:   Standard | Newest | Votes
John Doe | posted this 07 May 2020

Why not just use the long press on the "back"-button and then select admin mode?

Kind Regards John

  • 0
  • 0
Mathias, Due Mortensen | posted this 07 May 2020

Im some instances (Single mode app) it's not possible to use the long press on the backbutton..

  • 0
  • 0
Raymond Chan | posted this 07 May 2020

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?

 

  • 0
  • 0
Mathias, Due Mortensen | posted this 07 May 2020

Hi Raymon,

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?

Like this:
My app -> "_adminmode on" script -> MobiControl Android app

Yes, i need to use the mechanism while the device and/or server is offline.

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback