This document is the Programmer's Guide for Nokia 6131 NFC SDK, describing the features and characteristics of the product.
This guide describes how to develop MIDlets with the Nokia 6131 NFC SDK 1.1 that use the Contactless Communication API (JSR‑257). It is aimed at mobile Java developers who need to read and write NFC tags or communicate with NFC‑enabled devices.
The document explains the API architecture, how to discover contactless targets, exchange NDEF data, and use the provided JSR‑257 extensions. Sample code snippets illustrate registering listeners, opening connections, and handling exceptions. It also notes limitations such as the lack of TransactionListener support.
By reading the system property microedition.contactless.version; if the API is present the property returns the string "1 . 0".
Create a DiscoveryManager instance and add a TargetListener for TargetType.NDEF_TAG using dm.addTargetListener(this, TargetType.NDEF_TAG).
No, transaction events through TransactionListener are not supported; attempting to add one will throw a ContactlessException.