Skip to content

Barcode Scanner

Non-Visible component
Category Requires Version
Sensors API 21, Android 5.0 Lollipop 2

Overview

A non-visible component that reads barcodes from the device''s camera.

Permissions

Events

After Scan

Indicates that the scanner has read a (text) result and provides the result

Params
result Text

Methods

Do Scan

Begins a barcode scan, using the camera. When the scan is complete, the AfterScan event will be raised.

Properties

Result

Text ➖ Read - Blocks

Text result of the previous scan.

Use External Scanner

Boolean Default: False ➖ Read Write - Designer Blocks

If true App Inventor will look for and use an external scanning program such as "Bar Code Scanner."


Last update: November 9, 2022