Skip to content

Dynamsoft-Jerson/barcode-reader-mobile-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 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

  • 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+

iOS

  • 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

Samples

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

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

  • Java 42.2%
  • Swift 29.9%
  • Objective-C 26.6%
  • Ruby 1.3%