Implementation of URLWriter

The URLWriter MIDlet consists of a single class: URLWriter. The URLWriter class implements the MIDlet lifecycle requirements, creates the MIDlet UI, and handles all communication with the NDEF target.

The following UML diagram shows the external classes used by URLWriter.

Figure: URLWriter class diagram

URLWriter uses the external classes as follows:

  • MIDlet is a standard class that all MIDlets must extend.

  • CommandListener is used for handling user input in the UI.

  • TargetListener is used for detecting and retrieving information about contactless targets.

For instructions on how to implement the URLWriter class, see section Developing URLWriter.