NFC Plug-in

//NFC Plug-in

Plug-in Overview

This plug-in enables your app to scan and decode a wide variety of Near Field Communications (NFC) tags. Note that the target device must be equipped with appropriate NFC hardware.

  • Plug-in ID: org.ambientdynamix.contextplugins.nfc

Supported Context Types

Context Types Privacy Risk Level Data Types Description
<PLUGID>.tag LOW INfcTag Represents an NFC Tag.
<PLUGID>.smart_poster LOW ISmartPoster Represents an NFC Smart Poster.
<PLUGID>.text_record LOW ITextRecord Represents an NFC text record.
<PLUGID>.uri_record LOW IUriRecord Represents an NFC URI record.
Descriptions of the data types above can be found in the JavaDocs at the end of this page.

Web App Usage

Integrate Dynamix into your Web app, as described here.

Add context support as follows:

Your app will start receiving events whenever the user scans an NFC tag. See the JavaDocs below for details on the available context event data.

Context events can be handled like this in your Web app’s dynamix_listener.js file:

Native App Usage

Integrate Dynamix into your native app, as described here.

Add context support as follows:

Your app will start receiving events whenever the user scans an NFC tag. See the JavaDocs below for details on the available context event data.

[DataType JAR Download data-type-download=””]

Context events can be handled like this:

[Context Info Blurb context-info-blurb=””]
By | 2017-09-29T23:39:00+00:00 August 7th, 2012|Plugins|Comments Off on NFC Plug-in