This repository contains multiple samples that demonstrate how to use the Dynamsoft Barcode Reader Android and iOS Editions.
- Supported OS: Android 5.0 (API Level 21) or higher.
- Supported ABI: armeabi-v7a, arm64-v8a, x86 and x86_64.
- Development Environment:
- IDE: Android Studio 2024.3.2 suggested.
- JDK: Java 17 or higher.
- Gradle: 8.0 or higher.
- Supported OS: iOS 13.0 or higher.
- Supported ABI: arm64 and x86_64.
- Development Environment: Xcode 13 and above (Xcode 14.1+ recommended), CocoaPods 1.11.0+
These samples show you how to implement barcode scanning by calling a ready-to-use UI, BarcodeScanner. The samples are designed to be low-code.
| Sample Name | Description | Programming Language(s) |
|---|---|---|
ScanSingleBarcode |
This sample shows how to use the BarcodeScanner to scan and returns a singe barcode result. | Java(Android)/Kotlin/Objective-C/Swift |
ScanMultipleBarcode |
This sample shows how to use the BarcodeScanner to scan and returns multiple barcode results. | Java(Android)/Swift |
ScenarioOrientedSamples |
This sample shows how to configure settings for several typical scenarios. | Java(Android)/Swift |
High-level customization is available via the foundational APIs. These samples show you how to access the full feature of the foundational DynamsoftBarcodeReader SDK.
| Sample Name | Description | Programming Language(s) |
|---|---|---|
DecodeWithCameraEnhancer |
The simplest sample of video streaming barcode scanner using DynamsoftCameraEnhancer as the input source. | Java(Android)/Swift |
DecodeWithCameraX |
The video streaming barcode scanner sample, but using CameraX as the input source. | Java(Android)/Kotlin |
DecodeWithAVCaptureSession |
The video streaming barcode scanner sample, but using AVCaptureSession as the input source. | Objective-C/Swift |
DecodeFromAnImage |
The sample shows how to pick an image from the album for barcode decoding. | Java(Android)/Swift |
GeneralSettings |
Displays general barcode decoding settings and camera settings like barcode formats, expected barcode count and scan region settings. The default scan mode is continuous scanning. | Java(Android)/Swift |
LocateAnItemWithBarcode |
Input an ID with barcode text and detect it from multiple barcodes under the screen. | Java(Android)/Swift |
TinyBarcodeDecoding |
The sample to tell you how to process the tiny barcodes. Including zoom and focus control. | Java(Android)/Swift |
DriversLicenseScanner |
The sample shows how to scan the PDF417 barcode on a driver's license and extract driver's information. | Java(Android)/Swift |
Debug |
The sample shows how to capture original video frames for debugging. | Java(Android)/Swift |
ReadGS1AI |
The sample shows how to extract and interpret GS1 Application Identifiers (AIs) from GS1 barcodes. | Java(Android)/Swift |
ScanVIN |
The sample shows how to scan a VIN barcode and extract the corresponding vehicle information. | Java(Android)/Swift |
You can request a 30-day trial license via the Request a Trial License link.
For any questions or feedback, you can either contact us or submit an issue.