Plug-in Overview

This plug-in enables your app to scan and decode a wide variety of 1D/2D barcodes using the device’s camera. The plug-in handles all aspects of camera management, image processing and barcode extraction. Events from the plug-in include the barcode format and the barcode value. No additional software is required on the device.

Supported barcode formats include:

  • UPC-A and UPC-E
  • EAN-8 and EAN-13
  • Code 39
  • Code 93
  • Code 128
  • ITF
  • Codabar
  • RSS-14 (all variants)
  • QR Code
  • Data Matrix
  • Aztec (‘beta’ quality)
  • PDF 417 (‘alpha’ quality)

 

  • Plug-in ID: org.ambientdynamix.contextplugins.barcode

Supported Context Types

Context Type Privacy Risk Level Data Types Description
<PLUGID> LOW IBarcodeContextInfo Represents a scanned barcode.
Descriptions of the data types above can be found in the JavaDocs at the end of this page.

Web App Usage

Integrate Dynamix into your Web app, as described here.

Add context support as follows:

Your app can query for barcodes using the following code:

See the JavaDocs below for details on the available context event data. Context events can be handled like this in your Web app’s dynamix_listener.js file:

Native App Usage

Integrate Dynamix into your native app, as described here.

Add context support as follows:

Your app can query for barcodes using the following code:

[DataType JAR Download data-type-download=””]

Context events can be handled like this:

[Context Info Blurb context-info-blurb=””]