Load New Configuration File

Load New Configuration File

The Zebra Voice app reads the XML configuration file and restarts services with the new configuration. This is used during initial deployment or after an upgrade.

Prerequisites

  • Zebra Voice Client is loaded on the device.
  • An XML file with configuration parameters has been prepared and is available.
  • All versions of Zebra Voice Client 9.0 support these intents.
The URI may be a network location or a file location on the device.

Intent Definition

Name
Description
Action
wfc.voice.ACTION_NEW_CONFIG
Intent Type
startActivity
Extra 0
This extra parameter defines the URI of the configuration file.
          Type
String
          Name
profile_uri
          Value
URI pointing to file location

ADB Examples

File located on the network:
$ adb shell am start -a wfc.voice.ACTION_NEW_CONFIG --es profile_uri https://example.com/voice/profiles/1234
File located on the device:
$ adb shell am start -a wfc.voice.ACTION_NEW_CONFIG --es profile_uri / sdcard/new_profile.xml
Pushing the Config XML to the device (For Android 11):
adb push d:\adb\WFCConnect.xml /enterprise/device/settings/WFConnect
adb shell am start -a wfc.voice.ACTION_NEW_CONFIG --es profile_uri /enterprise/device/settings/WFConnect/WFConnect.xml