Skip to content

FrancisJC/barcode-reader-mobile-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamsoft Barcode Reader samples for Android and iOS editions

This repository contains multiple samples that demonstrates how to use the Dynamsoft Barcode Reader Android and iOS Editions.

Requirements

Android

  • Supported OS: Android 5.0 (API Level 21) or higher.
  • Supported ABI: armeabi-v7a, arm64-v8a, x86 and x86_64.
  • Development Environment: Android Studio 3.4+ (Android Studio 4.2+ recommended).

iOS

  • Supported OS: iOS 9.0 or higher.
  • Supported ABI: arm64 and x86_64.
  • Development Environment: Xcode 7.1 and above (Xcode 13.0+ recommended), CocoaPods 1.11.0+

Samples

Sample Name Description Programming Language(s)
HelloWorld This is a 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 a sample that illustrates how to make general settings when using Dynamsoft Barcode Reader and Dynamsoft Camera Enhancer. Java(Android)/Objective-C/Swift
PerformanceSettings In this sample, you will read about how speed, read rate and accuracy performance can be optimized when using Dynamsoft Barcode Reader and Dynamsoft Camera Enhancer. In addition, as one of the common usage scenarios, single barcode decoding settings are also illustrated in the sample. Java(Android)/Objective-C/Swift
ReadADriversLicense This is a sample that shows how to create a mobile app that focuses on decoding the drivers' license barcodes and displaying the parsed information. Java(Android)/Swift
DecodeWithCameraX This is a sample that shows how to integrate DBR and Android CameraX module to decode barcodes from camera. Java(Android)
DecodeWithAVCaptureSession This is a sample that shows how to integrate DBR and AVFoundation framework to decode barcodes from camera. Objective-C/Swift

How to build (For iOS Editions)

Include the Framework via CocoaPods

  1. Enter the sample folder, install DBR SDK through pod command

    pod install
  2. Open the generated file [SampleName].xcworkspace

Include the Framework Manually

  1. Download the Dynamsoft Barcode Reader SDK from Dynamsoft website.

  2. Drag and drop the DynamsoftBarcodeReader.framework and DynamsoftCameraEnhancer.framework into your Xcode project. Make sure to check Copy items if needed and Create groups to copy the framework into your projects' folder.

  3. Click on the project. Go to the General --> Frameworks --> Libraries and Embedded Content. Set the embed type to Embed & Sign.

  4. Import DynamsoftBarcodeReader and DynamsoftCameraEnhancer

License

Contact Us

https://www.dynamsoft.com/company/contact/

About

Samples for Dynamsoft Barcode Reader Android and iOS edition

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 49.0%
  • Swift 27.7%
  • Java 21.4%
  • C 1.5%
  • Ruby 0.4%