https://github.com/dynamsoft/barcode-reader-mobile-samples
Samples for Dynamsoft Barcode Reader Android and iOS edition
https://github.com/dynamsoft/barcode-reader-mobile-samples
android barcode-reader barcode-scanner code128 code39 datamatrix driver-license ean13 ean8 gs1 ios java linear-barcodes pdf417 qr qrcode swift upc-a upc-e
Last synced: 29 days ago
JSON representation
Samples for Dynamsoft Barcode Reader Android and iOS edition
- Host: GitHub
- URL: https://github.com/dynamsoft/barcode-reader-mobile-samples
- Owner: Dynamsoft
- License: other
- Created: 2021-09-13T09:48:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-07T05:10:52.000Z (2 months ago)
- Last Synced: 2025-03-07T06:20:29.355Z (2 months ago)
- Topics: android, barcode-reader, barcode-scanner, code128, code39, datamatrix, driver-license, ean13, ean8, gs1, ios, java, linear-barcodes, pdf417, qr, qrcode, swift, upc-a, upc-e
- Language: Swift
- Homepage:
- Size: 3.44 MB
- Stars: 8
- Watchers: 6
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Dynamsoft Barcode Reader samples for Android and iOS editions
This repository contains multiple samples that demonstrate how to use the [Dynamsoft Barcode Reader](https://www.dynamsoft.com/barcode-reader/overview/) Android and iOS Editions.
- User Guide
- [Android](https://www.dynamsoft.com/barcode-reader/docs/mobile/programming/android/user-guide.html)
- [iOS](https://www.dynamsoft.com/barcode-reader/docs/mobile/programming/objectivec-swift/user-guide.html?lang=swift)## 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 2022.2.1 or higher.### iOS
- Supported OS: **iOS 11.0** or higher (iOS 13 and higher recommended).
- Supported ABI: **arm64** and **x86_64**.
- Development Environment: Xcode 13 and above (Xcode 14.1+ recommended), CocoaPods 1.11.0+## Samples
### BarcodeScanner API Samples
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 |- API Reference
- [Android](https://www.dynamsoft.com/barcode-reader/docs/mobile/programming/android/api-reference/barcode-scanner/)
- [iOS](https://www.dynamsoft.com/barcode-reader/docs/mobile/programming/objectivec-swift/api-reference/barcode-scanner/)### Foundational API Samples
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 |- API Reference
- [Android](https://www.dynamsoft.com/barcode-reader/docs/mobile/programming/android/api-reference/)
- [iOS](https://www.dynamsoft.com/barcode-reader/docs/mobile/programming/objectivec-swift/api-reference/)### Capture Vision Samples
The following samples aggregate multiple products under `DynamsoftCaptureVision` architecture. They include the barcode decoding feature and implement it in more specific usage scenarios with the help of the other Dynamsoft functional products.
> Note: Move to the [DynamsoftCaptureVison samples repo](https://github.com/Dynamsoft/capture-vision-mobile-samples) to view the following samples.
| Sample Name | Description | Programming Language(s) |
| ----------- | ----------- | ----------------------- |
| `DriversLicenseScanner` | Scan the PDF417 barcodes on a drivers' license and extract the drivers information. | Java(Android)/Swift |
| `VINScanner` | Scan the vin barcode or text and extract the vehicle information. | Java(Android)/Swift |## License
You can request a 30-day trial license via the [Request a Trial License](https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=mobile) link.
## Contact Us
For any questions or feedback, you can either [contact us](https://www.dynamsoft.com/company/contact/) or [submit an issue](https://github.com/Dynamsoft/barcode-reader-mobile-samples/issues/new).