Skip to main content

Zebra Barcode Scanner

The Zebra Barcode Scanner control is designed to facilitate barcode scanning using Zebra devices. It integrates with data entry forms, allowing users to scan and input barcode data directly into specified fields.

Zebra Barcode Scanner
Zebra Barcode Scanner
Zebra Barcode Scanner
Zebra Barcode in use

Prerequisite

For security purposes, Zebra Barcode Scanner control access to the DataWedge Intents APIs. Zebra administrators must first create a Zebra DataWedge profile. You can create this profile on the Zebra DataWedge App. Open the top right menu when viewing the Zebra DataWedge App on a Zebra device and create a New DataWedge Profile to get started.

Create a Zebra DataWedge profile with the following configuration to add the DronaHQ Mobile app as an approved DataWedge application.

SettingValue
Associated appcom.drona5
Activity*
Intent outputEnabled
Intent actioncom.dronahq.zebra.ACTION
Intent categoryClear or leave unset
Intent deliveryBroadcast intent

Once configured, the DronaHQ Mobile app is able to receive captured data and provide it to your DronaHQ apps. Refer to the Zebra DataWedge documentation for more information on adding profiles.

Binding Data Options

The Zebra Barcode Scanner control captures scanned barcode data and binds it to a designated field within your data form. It supports various barcode formats, ensuring compatibility with a wide range of scanning applications.

BarcodeData

The BarcodeData field captures the actual data retrieved from the barcode scan. This data is processed and stored as a string. You can use this option to initialize the scanner with default value;

Type

The Type field specifies the type of barcode that was scanned. It provides information about the format or standard of the scanned barcode. You can use this option to initialize the scanner with default value;

Properties

PropertyDescription
ThemeAllows you to choose the color of the scanner input box. You can enter a custom hex code or use one of the available themes in the builder.
PlaceholderA prompt that gives a hint to the user about the expected input in the Scanner field. It appears in the field and is overridden when the user scans a barcode.
Debounce Time (In ms)The delay in milliseconds between events, controlling the frequency of action triggers on value changes.
Show Scanner IconAllows you to enable or disable the display of a scanner icon within the control.
Start Scan TextThe text displayed on the button to start scanning.
Stop Scan TextThe text displayed on the button to stop scanning.

Control Outputs

The outputs from the Zebra Barcode Scanner control, represented by the placeholder {{barcode}}, can be referenced in other controls, data queries, or JavaScript functions using the control's unique name.

OutputDescription
{{barcode.BarcodeData}}Contains the barcode data captured from the barcode scan.
{{barcode.Type}}Specifies the type of barcode that was scanned.

Events

TriggerDescription
value_changeOccurs when this control detects scanning a barcode by Zebra device. This will get called whenever there is a change/update in the value of this control.