Implementation of UIDReader

The UIDReader MIDlet consists of a single class: UIDReader. The UIDReader 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 UIDReader.

Figure: UIDReader class diagram

UIDReader 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 UIDReader class, see section Developing UIDReader.