The Barcode API's are used when you wish to handle all barcode scanning entirely in C# using Barcode/Scanning APIs. These API's work independently of any Data Capture profiles.
The available actions in the Barcode/Scanning API are:
This sample application will allow you to scan barcodes based on selected scanner device, trigger type and few decoder Decoder Params.
This sample is also included with the EMDK Component, follow this guide to open Sample included in Component.
IMPORTANT: Extract the downloaded project zip file to C:\ (or to the root of an alternate drive).
Alternatively, launch a preferred IDE and load the project via the File > Open menu.
Visual Studio will detect your device connected via USB, it will display the name of that device next to the "Play" button.
Press the "Play" button next to the devices name. The IDE will build, deploy and start the sample app on your device.
In Xamarin Studio, you may need to select your attached device from the devices dropdown under
Now press the "Play" button. The IDE will build, deploy and start the sample app on your device.
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 device'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.