Issue / Question
SOTI script to enable/disable RxLogger on a device with Android operating system
Applicable To
Android devices and SOTI Mobicontrol v 13.x/v14.x
Resolution / Answer
There is way to enable RxLogger via SOTI Mobicontrol, scripts below work in SOTI v 13.x/v14.x. "sendintent'' script is an Android intent to the device to start an activity, server or broadcast.
SOTI script to enable RxLogger on a device (begins data collection for all enabled modules; the equivalent of taping the Start button):
sendintent -b "intent:#Intent;action=com.symbol.rxlogger.intent.action.ENABLE;end"
SOTI script to disable RxLogger on a device (stops data collection for all modules; the equivalent of taping the Stop button):
sendintent -b "intent:#Intent;action=com.symbol.rxlogger.intent.action.DISABLE;end"
There is also way to trigger RxLogger backup via SOTI Mobicontrol.
SOTI script to trigger RxLogger backup on a device (triggers a backup for files log currently in the RxLogger folder, files are compressed and named backup-HHMMSS.zip):
sendintent -b "intent:#Intent;action=com.symbol.rxlogger.intent.action.BACKUP_NOW;end"