Example: Creating a URL writer

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

Prerequisites

You need the following to develop and test this MIDlet:

For instructions on how to set up the Java ME development environment, see section Setting up the development environment.

Development

For more information about the MIDlet, see:

  • Design for information about the design and functionality of the MIDlet

  • Implementation for instructions on how to implement the MIDlet

You can download the project files for the MIDlet from the download page.