Skip to main content

Device

Overview​

Device-related widgets are user interface elements that allow users to interact with and control various hardware components of their device such as the camera, microphone, and GPS.

Serial Port​

Serial Port is a widget that can read data from a serial port and support RS-232 communication protocol. The widget has a user interface that allows the user to configure the serial port settings, such as baud rate and number of data bits, and display the incoming data in a readable format, and write data back to device.

Watch the embedded media

Readonly view:

Click the Write button to write data to serial port.

Widget column serialport readonly

Edit view:

Click the Connect button to read data from serial port.

Widget column serialport edit


Form view:

Same as the Edit view.

Configuration:

Widget column serialport configuration

Default value:

Any text.

Import value:

Any text.

NFC​

NFC (Near Field Communication) reader and writer widgets are user interface elements that allow users to interact with and control NFC-enabled devices. The NFC widget can be used to read data from an NFC tag or card, and write data to an NFC tag or card. The widget is currently only working in Android Chrome.

Readonly view:

Widget column nfc readonly

Edit view:

The data will be read into the input box when your cell phone is close to a NFC tag.

Widget column nfc edit

Form view:

The data will be read into the input box when your cell phone is close to a NFC tag.

Widget column nfc form

Configuration:

Widget column nfc configuration

Default value:

Any text.

Import value:

Any text.