ZXing Android Embedded is a barcode scanning library for Android, using ZXing for decoding. The project is loosely based on the ZXing Android Barcode Scanner application but is not affiliated with the official ZXing project. By default, only SDK 24+ will work, even though the library specifies 19 as the minimum version. For SDK versions 19+, one of the changes changes below are required. Some older SDK versions below 19 may work, but this is not tested or supported. While this is not the primary purpose of this library, it does include basic support for generating some barcode types. To change the orientation, specify the orientation in your AndroidManifest.xml and let the ManifestMerger to update the Activity's definition. The camera permission is required for barcode scanning to function. It is automatically included as part of the library. On Android 6 it is requested at runtime when the barcode scanner is first opened.
Features
- Can be used via Intents (little code required)
- Can be embedded in an Activity
- Scanning can be performed in portrait mode
- Camera is managed in a background thread, for fast startup time
- Advanced customization of UI and logic
- Scanning can be performed in landscape mode