Near Field

Non-Visible component
Category Requires Version
Sensors API 19, Android 4.4 - 4.4.4 KitKat 1

Overview

Non-visible component to provide NFC capabilities. For now this component supports the reading and writing of text tags only (if supported by the device)

In order to read and write text tags, the component must have its ReadMode property set to True or False respectively.

Note: This component will only work on Screen1 of any App Inventor app.

Permissions

Events

Tag Read

Indicates that a new tag has been detected Currently this is only a plain text tag, as specified in themanifest. See Compiler.java.

Params
tag ID Text
message Text

Tag Written

Event to detect when a tag was written.

Properties

Last Message

Text ➖ Read - Blocks

Returns the content of the most recently received tag.

Read Mode

Boolean Default: True ➖ Read Write - Designer Blocks

Returns true if in read mode, false if in write mode.

Text To Write

Text ➖ Read Write - Blocks

Returns the content of the text that's going to be written to the tag.

Write Type

Number ➖ Read - Blocks


Last update: January 27, 2020