Is it possible to send an intent to mobicontrol app to execute an command?

MA

Hi,

we want to create an automatism, who switch the adminmode from on to off.

Like: _adminmode on   / _adminmode off

We want to send an intent to the mobicontrol app, with data contains the commands.

My idea is like:

intent:#Intent;action=net.soti.mobicontrol.xxxxx extraKeyValuePair="commandtoexecute"

Or in this case, is there a way to switch the adminmode from an other app on the device?

Thanks a lot for help

3 years ago
Android Scripting
ANSWERS
MA

Additional Information:

I read the other discussion https://discussions.soti.net/thread/send-intent-to-the-ae-agent-via-an-android-app

If you run an App on Android in the single app mode in the lockdown, you can not enter the admin mode with the gesture, or the back button. 

So our customers wants to have a possibility to enter the admin mode like by a nfc tag. So if we can switch the modes, or we can execute commands by sending intents to the mobicontrol app, we have so much more solutions for ou customers.

RC
Raymond Chan Diamond Contributor
3 years ago

Hi Martin,

I don't think MobiControl device agent app currently support executing any script commands sent via intent from another app running on the same device, nor should it support such function due to security reasons.  Some of the script commands, such as the _adminmode that you are interested in, are just too powerful.

It may become more feasible from a security point of view if some restrictions are placed on the actions requested and the identity of the app initiating the request.

.

ST
Shawn T
3 years ago

Why not apply a standard lockdown and autolaunch your app? This will provide access to admin mode. 

MA

We manage tablets in hospitals. The application who run in the SingleApp Mode is a own ecosystem and souhld always be in foreground. 

Now for support, the technicians want to disable the singleapp mode, to watch the wlan settings. (Mac Randomize is our enemy :-) )

Ok, he can always call us, but if the customer have a WLAN issue, its always tricky to manage the device. He should leave the range of the inhouse wlan and connect to the backup wlan we configured. Its a way, but not the way we want to offer to the customer.

My question is a result of several "problems" to manage and support Tablets in SingleApp Mode.

My hope, mac randomize can be disable for a WLAN Profile with soti, and it will be possible to enter the admin mode from SingleApp Mode by a gesture or an other way without Mobicontrol Console.

JD
John Doe
3 years ago

Why not have the application be programmed to launch always in full screen and exiting fullscreen is protected via pin?

Then you can use normal lockdown with always launching your app on start.

MA

Yes this is an option. But if we have an other App, we would run in single App mode, it will be the same problem.

Maybe its possible via USB to control the lockdown Single App Mode? 

K
KCMOD@SOTI
3 years ago

Hello Martin,

Thank you for posting on SOTI Central!

Please take a look at the following article:

The sendintent Command (soti.net)

Please let me know if you have any questions or you can mark this post as solutioned.

Regards,
Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net