The MIDlet consists of a single class, UIDReader
, which implements the MIDlet lifecycle requirements, creates the
MIDlet UI, and handles all communication with the NDEF target.
The following figure shows the opening view of the MIDlet and the result of the read operation:
Figure: UIDReader views
The MIDlet also uses the following external classes:
Figure: UIDReader class diagram
MIDlet
is a standard class that all MIDlets
must extend.
CommandListener
is used to handle the user
input in the UI.
TargetListener
is used to detect and retrieve
information about contactless targets.
For instructions on how to implement the MIDlet, see section Implementation.