NFC Plugin

Version 1.0.0 (OutSystems 10)
Published on 18 July 2016 by 
Created on 18 July 2016
Details
Leverage NFC functionalities on your mobile apps.
Read More

Read, write and share data through NFC. This plugin encapsulates the functionalities available on https://github.com/OutSystems/phonegap-nfc, providing an easy to use set of client actions and web blocks.


Reading NFC data


Reading data from NFC sensor is an asynchronous process and is possible using one of the following web blocks:

  • MimeTypeListener: Listens to any NFC Tag that has data with a specific mime type (i.e. “text/plain”). This listener takes precedence over NdefListener.

    Usage is as simple as dragging and dropping into any container and specifying a mime type and callback.

    Note: Only TAGs containing records of type RTD_TEXT or RTD_URI are supported.

  • NdefListener: Listens to any NFC Tag containing an NDEF Message. MimeTypeListener takes precedence over this more generic listener.

    Just like MimeTypeListener, usage is straightforward. Just drag and drop into a container and assign a callback.

    Note: Only TAGs containing records of type RTD_TEXT or RTD_URI will be decoded. However, the RAW data is available for advanced usages.


Writing NFC data


Writing data to NFC TAGs is easily done with the following client actions:

  • WriteText: Write a single text record into an NFC TAG.

    Warning: Will override the content of the NFC TAG.

  • WriteDataRecords: Write one or more NDEF records into an NFC TAG (See NfcWriteRecord).

Receiving feedback on the write process is possible using WriteProgress web block.


Share


Sharing data between two NFC enabled devices is as simple as touching the devices. Using this functionality is as simple as using one of the following actions:

  • ShareText: Share, once, a text record with another device.

  • StartSharing: Enables NFC sharing on the device until StopSharing action is executed.

    This gives the ability to share the same information with several different devices.

To receive feedback on the sharing process, use ShareProgress web block.

Reviews (0)
Category
IoT, UI & Widgets, Mobile Plugins
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Experts who created this component.
Dependencies
See all 1 dependencies
Requirements
Platform
10.0.0.204
Database
All
Stack
All
Component Consumers
No consumers yet.
Weekly Downloads 
Related Components
Silk UI Web
OutSystems R&D
A fully responsive and beautiful UI framework that works within the OutSystems Platform. Build amazing looking applications, in a fraction of the time, which work perfectly across devices. Learn how to start using Silk UI and see the examples at silkui.outsystems.com . Obtain assistance on using Silk UI in our forums .
28536
OutSystems Now
OutSystems R&D
OutSystems Now brings your OutSystems experience to any device.
9185
Multiple File Upload
Multi Uploaders
Allow you to upload multiple files in one upload form or using drag and drop functionality.
2771
More from Experts
Infrastructure Monitor
Experts
A LifeTime plugin to provide Developers and Operations a quick and simple infrastructure monitoring tool for the platform servers. It will help you keep your infrastructure in check by surfacing key performance metrics of your servers and alert you when these metrics reach thresholds that may compromise the performance or stability of your environments. Instructions here: http://outsyste.ms/1lnELXb
368
Automated Web Theme Configurator
Experts
Use this application to quickly create the styles for any Silk UI based Theme.
267
Google Analytics Plugin
Experts
Plugin that enables an application to use the Google Analytics capabilities to get data analysis, visualizations and reports.
2731