Class and interface description

The Contactless Communication API is supported as specified in the feature description but with the following exceptions.

javax.microedition.contactless.DiscoveryManager

If a MIDlet is running and no listeners are registered to DiscoveryManager, the device reacts to touching a tag as it would if the MIDlet was not running. If the MIDlet registers an NDEFRecordListener, any native NFC application stops reacting to detected NDEF records even if the type of the detected NDEF record is not being listened to by the MIDlet.

javax.microedition.contactless.TagConnection

MIDlets can establish only one NFC connection at a time. To open a new connection, any previous connection must be first closed by calling the Connection.close method.

javax.microedition.contactless.TargetListener

If multiple contactless targets are detected, the targetDetected method only returns the properties of the first target detected.

javax.microedition.contactless.TargetType

The Symbian platform supports the following TargetTypes:

  • NDEF_TAG

  • RFID_TAG

The Symbian platform does not support the following TargetTypes:

  • ISO14443_CARD

  • VISUAL_TAG

javax.microedition.contactless.ndef.NDEFRecordListener

If a MIDlet registers an NDEFRecordListener for an NDEF record type that is reserved for native applications, the MIDlet is notified of new records only if it is running in the foreground. For a list of reserved NDEF record types, see the Contactless Communication API extensions specification.

If a MIDlet registers both a TargetListener for NDEF_TAG and an NDEFRecordListener, only TargetListener.targetDetected is called when an NDEF record is detected. NDEFRecordListener.recordDetected is not called.

com.innovision.rf.JewelTagConnection

The Symbian platform does not support using the following methods on Innovision Jewel tags:

  • write(byte[] bytes, int startAddress, boolean erase)

  • write(int b, int address, boolean erase)

  • writeLogical(byte[] data, int startAddress, boolean erase)

  • writeOTP(byte[] otpBits)

  • writeOTPBit(int bitNumber)

If a MIDlet tries to write on an Innovision Jewel tag, a ContactlessException is thrown.

The write methods are supported normally for Innovision Topaz tags.