How can we help?

You are here:
< Back

Generic User Commands for Android Devices

 

Some functions on Android devices can be reached over the command sending function in the Editor.
These commands can be sent from the context menu of the device.


Set pinlock pin (Deprecated from v3.0)

Users can set a pinlock on devices with demo mode application. Whenever a person tries to reach the Android settings or the Play Store on the device the pinlock will appear and asks for the pin.

{"user_command":"SetPinLockPin", "command_data": {"pin":"6666"}}

Show debug log

Sometimes the support team requires a device log from the users to find out what causes a problem on the device. Enabling the debug log on the device will show more information for us in the device log.

{"user_command":"ShowDebugLog", "command_data":{"enabled":true}}

Replace WebView

To replace the WebView on Android devices please check the following guide: Android WebView update

Disable the Content Reload. (Deprecated from v3.0)

After you use this command you need to reload the application. After the restart, when you lost your connection and it came back, if you have no changes on the Content / Loop / Schedule it will not reload.

{ "user_command" : "DisableContentReload" , "command_data" : { "disabled": true }}

Turn on Wifi automatically

After the command is sent down, the device turns on the Wifi, and every time the Wallboard application starts, it turns on the Wifi if it is turned off.
If the command is sent down with a false value, it turns off the function.
Requires at least application version 2.20.09.23.
{"user_command":"WifiAlwaysOn", "command_data":{"enabled":true}}

Turn on trust all webpages

This command allows the device to load untrusted sources into the WebView. Use the command at your own risk. We take no responsibility for anything after this feature is turned on.

Enable: {"user_command":"TrustAllPages", "command_data":{"enabled":true}}

Disable: {"user_command":"TrustAllPages", "command_data":{"enabled":false}}

Turn on system memory watchdog

This command turns on a system memory watcher. If the device reaches the given percent limitation the application makes steps to free up used memory by restarting itself. If the memory limit is exceeded a few times the application reboots the device to free up even more memory. The minimum limit is 0.4, the maximum is 1.0.

Enable: {"user_command":"StartMemoryWatchdog", "command_data":{"enabled":true, "limit":0.7}}

Disable: {"user_command":"StartMemoryWatchdog", "command_data":{"enabled":false}}

Turn on IR handling

The Wallboard application disables the IR handling of the device by default to prevent people from turning off the device or causing any trouble. With this command, you can turn it on to allow the users to control the device with IR remote controllers.
If you turn on this function the Wallboard signage contents will not react to IR commands, only the device will receive them.

Enable: {"user_command":"IrHandlingByDevice", "command_data":{"enable":true}}

Disable: {"user_command":"IrHandlingByDevice", "command_data":{"enable":false}}

Commands for Qbic only

Set Qbic application update URL

{"user_command":"SetQbicApplicationUpdateUrl", "command_data":{"url":"PLACE_URL_HERE"}}

Set Qbic firmware update URL

{"user_command":"SetQbicFirmwareUpdateUrl", "command_data":{"url":"PLACE_URL_HERE"}}

Enable/Disable HDMI CEC

Enable: {"user_command":"ChangeHdmiCecStatus", "command_data":{"status":"true"}}

Disable: {"user_command":"ChangeHdmiCecStatus", "command_data":{"status":"false"}}

Set screen on/off type

These commands only allow choosing the method of on/off.

HDMI output

Allows the device to turn on/off the output source, the device gives to the screen. The disadvantage is that it does not turn off the screen.

{"user_command":"DisplayStateCommandType", "command_data":{"type":"hdmi"}}

CEC

Allows the device to turn on/off the CEC capable screen through HDMI.

{"user_command":"DisplayStateCommandType", "command_data":{"type":"cec"}}

Set working hours

This command sets working hours for the device. In the example, on the listed days, the device turns on at 8:00 and turns off at 16:00. On the not listed days, the device will not turn on, it stays turned off.

Enable: {"user_command": "SetWorkingHours","command_data":{"switchOn" : "8:00", "switchOff" : "16:00", "days" : ["MON","TUE","WED","THU","FRI"]}}

Disable: {"user_command": "SetWorkingHours","command_data":{}}