nobbi59 Active Member Licensed User Longtime User Dec 5, 2017 #1 Code: 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: Dec 5, 2017
Code: 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
Erel B4X founder Staff member Licensed User Longtime User Dec 6, 2017 #2 Write it like this to see which method is wrong: Code: builder.Initialize(...) builder.BleepEnabled(True) builder.EnableAutoFocus(True) ... scanner = builder.build Upvote 0
Write it like this to see which method is wrong: Code: builder.Initialize(...) builder.BleepEnabled(True) builder.EnableAutoFocus(True) ... scanner = builder.build