PNG
JPG
BMP
TIFF
SVG
Standard 2 of 5
Read Standard 2 of 5 Barcodes with Android via Java
Read Standard 2 of 5 (Industrial 2 of 5) barcode in Java using server-side Aspose.BarCode for Android via Java API
How to Read Standard 2 of 5 barcode Using Android via Java
Try Aspose.BarCode for Android via Java to detect and read Standard 2 of 5 barcode within Android applications easily. It is a rich, scalable, and user-friendly barcode API intended for Android applications. Get Aspose.BarCode for Java directly from a Maven-based project by adding the following configurations to the build.gradle:
Command
maven { url "http://repository.aspose.com/repo/" }
Command
implementation group: 'com.aspose', name: 'aspose-barcode', version: '23.XX', ext: 'aar'
implementation group: 'com.aspose', name: 'aspose-barcode', classifier: 'control.android.via.java-javadoc', version: '23.XX'
Steps for Scanning Standard 2 of 5 barcode in Java
Aspose.BarCode allows developers to read Standard 2 of 5 barcode barcodes from stream or image with few lines of code
- Create an instance of BarCodeReader class
- Determine the source image path containing Standard 2 of 5 barcode
- Define target barcodes types in DecodeType as the second parameter
- Loop through the recognition results
- Load the decoded text running the getCodeText method
System Requirements
Aspose APIs are supported on all major platforms and operating systems. Before executing the code sample below, please make sure that your system comply with the following requirements.
- Microsoft Windows, Linux, or any OS compatible with Android Runtime Environment
- Android SDK v.30
- Android systems running Android OS 2.0 or later
Other Supported Barcode Recognition Symbologies
Using Android via Java, One can also read barcode of different symbologies including the following.
2D:
Linear:
Postal: