Toggle Airplane Mode from the Lockdown Menu (Android)
What are the brand and model of your device(s)?
Android Plus or Android Enterprise agent(s)?
Turning on/off airplane mode is likely not directly supported in your devices. The closest you can get is to use a script kiosk item,
and use the following script commands in your script abc.cmd:
setradioenable bt 0
setradioenable wifi 0
setradioenable phone 0
Script Commands for Android Plus Devices
That is close to what I need. Would it be possible to toggle on and off with script? I am finding making togglable scripts difficult in android (I am used to windows mobile environment)
The simplest solution is to add a second kiosk item with all the script command arguments changed from 0 to 1.
Hi I have used the .cmd method but had the off/on all in one file, this worked fine turning off and back on the WIFI, Bluetooth but when I tried with mobile data I received a log entry Script command is not supported by device (setmobiledata) so the setmobiledata 0 does not seem to work. This is on a Honeywell EDA51 on Android Enterprise and carrier O2?
Can you try upgrading your device's firmware and ensure you're utilizing the latest agent version? Then test it directly with the Send Script device action.
Let us know how it goes?
Technical Support | SOTI Inc. |1.905.624.9828 | email@example.com | www.soti.net |