Last Updated On 2021-07-16
Version 2MinSDK 7Tutorial Video
Component for using the Barcode Scanner to read a barcode
You can set the below properties in the UI part of the builder.
- UseExternalScanner - it's a boolean value which is set to true by default.
You can set the below blocks properties in the blocks section of the builder.
Text result of the previous scan.
If true App Inventor will look for and use an external scanning program such as "Bar Code Scanner."
You can set the below method blocks in the blocks section of the builder.
Begins a barcode scan, using the camera. When the scan is complete, the AfterScan event will be raised.
You can set the below event blocks in the blocks section of the builder.
Indicates that the scanner has read a (text) result and provides the result