Nokia 6131 NFC SDK Programmer's Guide

This document is the Programmer's Guide for Nokia 6131 NFC SDK, describing the features and characteristics of the product.


Nokia 6131 NFC SDK Programmer's Guide - cover page
Brand
Nokia
Category
Cell Phones
Document type
Programming Manual
Language
English
Pages
28
File format
PDF
File size
463 KB
Published
09 May, 2012
Updated
29 September, 2023
MD5 checksum
7FFD17A7942385D0A1B042EFD3A61C4E

About this manual

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.

What's inside

  • About this document
  • Target audience
  • Typographical conventions
  • Introduction
  • Using the API
  • Discovering a contactless target
  • Exchanging NDEF formatted data
  • JSR‑257 API extensions
  • References

Frequently asked questions

How can an application check if the Contactless Communication API is present on the device?

By reading the system property microedition.contactless.version; if the API is present the property returns the string "1 . 0".

How does an application discover NDEF‑formatted tags?

Create a DiscoveryManager instance and add a TargetListener for TargetType.NDEF_TAG using dm.addTargetListener(this, TargetType.NDEF_TAG).

Are TransactionListener events supported in the Nokia 6131 NFC SDK?

No, transaction events through TransactionListener are not supported; attempting to add one will throw a ContactlessException.

Download PDF (463 KB)

More Nokia Manuals


View all Nokia manuals →