The EMDK for Android is used when you wish to handle all barcode scanning entirely in Java using Barcode/Scanning APIs introduced in EMDK V3.0. These APIs work independently of any Data Capture profiles.
The available actions in the Barcode/Scanning API are:
This sample application permits barcode scanning based on selected scanner, trigger type and few Decoder Params.
Note: Although this sample may work with previous versions of the EMDK, it is advised to update the EMDK runtime on your device before loading this sample.
Android API 19 must be installed via the SDK Manager before attempting to load this sample.
The following guide will walk you through setting up the EMDK samples in your IDE.
When the application starts it should look like the following.
Set scanner to "Serial SSI Scanner", which is the default one".
Set Trigger Type to "HARD".
Note: Trigger Type "HARD" lets you scan the barcode using device's hard scan key whereas "SOFT" allows you to scan without using devic's hard scan key.
Keep all checkboxes checked for decoder params and this is how it should look after setting all fields.
Click "Start" button and the status will be updated.
Since we selected Trigger Type as "HARD", press the hard scan key of Symbol device and scan a particular barcode. It will get the scanned barcode data in "Data" field of UI.