Android Question MaterialBarcodeScanner Library - Array expected

nobbi59

Active Member
Licensed User
Longtime User
B4X:
scanner=builder.Initialize("Barcode").BleepEnabled(True).EnableAutoFocus(True).withBackfacingCamera.Text("").TrackerColor(Colors.Red).build

I want to use the Library mentioned in the title by DonManfred. I downloaded the example and get the following error when trying to compile:

Error compiling program.
Error description: Array expected.
Error occurred on line: 99
scanner = builder.Initialize("Barcode").BleepEnabled(True).EnableAutoFocus(True).withBackfacingCamera.Text("Barcode Test").TrackerColor(Colors.Red).build
Word: (


It seems like .Text & .TrackerColor raise this error, but i cant find a way to get around this.

B4A Version 7.3
 
Last edited:
Top