This example shows you how to create a simple Near Field Communication
(NFC) MIDlet that writes data to contactless targets. The data written
is the http://www.developer.nokia.com
URL as an NDEF
record of type urn:nfc:wkt:U
(a URI record). The
data is written only to an NDEF target.
Figure: URLWriter MIDlet
For a tutorial that shows you how to create this MIDlet, see section Example: Creating a URL writer.
This MIDlet is compatible with NFC-enabled Symbian devices with Java Runtime 2.2 for Symbian or newer.
This MIDlet has been tested on the following devices:
Nokia 6212 Classic (Series 40 5th Edition FP1)
Nokia 700 (Symbian Belle with Java Runtime 2.3 for Symbian)
Nokia C7 Astound (Symbian Anna with Java Runtime 2.2 for Symbian)
The MIDlet project files are packaged as a zip file. To download the zip file, click the following link:
The MIDlet consists of the following class (click to view the full source code):