This repository contains multiple samples that demonstrates how to use the Dynamsoft Barcode Reader Android and iOS Editions.
- Operating systems:
- Supported OS: Android 5 or higher (Android 7 or higher recommended)
- Supported ABI: armeabi-v7a, arm64-v8a, x86, x86_64
- Environment: Android Studio 3.4+
- Operating systems:
- iOS 9.0 and above.
- Environment: Xcode 7.1 - 11.5 and above.
- Recommended: macOS 10.15.4+, Xcode 11.5+, iOS 11+, CocoaPods 1.11.0
Sample Name | Description | Programming Language(s) |
---|---|---|
HelloWorld |
This is an Android sample that illustrates the simplest way to recognize barcodes from video streaming with Dynamsoft Barcode Reader SDK and Dynamsoft Camera Enhancer SDK. | Java(Android)/Objective-C/Swift |
GeneralSettings |
This is an Android sample that illustrates how to make general settings when using Dynamsoft Barcode Reader. | Java(Android)/Objective-C/Swift |
SpeedFirstSettings |
This is an Android sample that shows how to configure Dynamsoft Barcode Reader to read barcodes as fast as possible. The downside is that read-rate and accuracy might be affected. | Java(Android)/Objective-C/Swift |
ReadRateFirstSettings |
This is an Android sample that shows how to configure Dynamsoft Barcode Reader to read as many barcodes as possible at one time. The downside is that speed and accuracy might be affected. It is recommended to apply these configurations when decoding multiple barcodes from a single image. | Java(Android)/Objective-C/Swift |
AccuracyFirstSettings |
This is an Android sample that shows how to configure Dynamsoft Barcode Reader to read barcodes as accurately as possible. The downside is that speed and read-rate might be affected. It is recommended to apply these configurations when misreading is unbearable. | Java(Android)/Objective-C/Swift |
ReadADriversLicense |
This is an Android sample that shows how to create a mobile app that focus on decoding the drivers' license barcodes and displaying the parsed information. | Java(Android)/Swift |
-
Enter the sample folder, install DBR SDK through
pod
commandpod install
-
Open the generated file
[SampleName].xcworkspace
-
Download the Dynamsoft Barcode Reader SDK from Dynamsoft website.
-
Drag and drop the
DynamsoftBarcodeReader.framework
andDynamsoftCameraEnhancer.framework
into your Xcode project. Make sure to checkCopy items if needed
andCreate groups
to copy the framework into your projects' folder. -
Click on the project. Go to the
General --> Frameworks --> Libraries and Embedded Content
. Set the embed type toEmbed & Sign
. -
Import
DynamsoftBarcodeReader
andDynamsoftCameraEnhancer
- If you want to use an offline license, please contact Dynamsoft Support
- You can also request a 30-day trial license in the customer portal