[![][1]. This release addresses the instance reusability issue of the BarCodeReader. For a detailed note on what is new and fixed, please visit the [release notes][2] page for information of API documentation.

Enhancements made to the BarCodeReader

Before this release, if you wanted to scan two Barcodes, you had to create a new instance of the BarCodeReader to scan the second Barcode. This release of Aspose.Barcode for Android via Java addresses that issue. Now you can scan multiple Barcodes using the same instance of the BarCodeReader. This is demonstrated using a simple example given below.

BarCodeReader reader = new BarCodeReader();  
reader.setBarCodeReadType(DecodeType.ALL_SUPPORTED_TYPES);  
reader.setBarCodeImage("Barcode1.jpg");  
while (reader.read())  
{  
    System.out.println("Barcode 1: " \+ reader.getCodeText());  
}  
reader.setBarCodeImage("Barcode2.png");  
while (reader.read())  
{  
    System.out.println("Barcode 2: " \+ reader.getCodeText());  
}  
reader.close();

Aspose.BarCode for Android via Java Resources

As Aspose.Barcode for Android via Java is based on Aspose.Barcode for Java, the following API resources can be of help to you in getting started with Aspose.BarCode:

[1]: https://blog.aspose.com/wp-content/uploads/sites/2/2018/02/aspose-BarCode-for-Java_100.png)](https://products.aspose.com/barcode/java)We are pleased to announce the release of [Aspose.BarCode for Android via Java 18.10.1](https://artifact.aspose.com/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-barcode/18.10.1/aspose-barcode-18.10.1-android.via.java.jar [2]: https://docs.aspose.com/display/barcodejava/Aspose.BarCode+for+Android+via+Java+18.10.1