midlet
Class MapViewer

java.lang.Object
  extended by javax.microedition.midlet.MIDlet
      extended by midlet.MapViewer
All Implemented Interfaces:
javax.microedition.lcdui.CommandListener

public class MapViewer
extends javax.microedition.midlet.MIDlet
implements javax.microedition.lcdui.CommandListener

MapViewer is the main MIDlet of the application MobileSOM. It consists of:

The User Interface displayed on the Mobile Device
The gui.MapCanvas displays a map or covers and menu items on the screen. It handles user input (pointer and key events)

  

The Player
The AudioPlayer streams or plays audiofiles eighter on the mobile device or sends remote requests to a different device. In the latter case the player acts like a remote control.



MAP

Manager

Author:
Hlavac Peter

Constructor Summary
MapViewer()
           
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable d)
          Called by the system to indicate that a command has been invoked on a particular displayable.
 void destroyApp(boolean unconditional)
          This method is called by the Applicationmanager, as soon the MIDlet terminates
 void pauseApp()
          This method is called by the Applicationmanager, as an incoming call occurs
 void startApp()
          This method is called by the Applicationmanager as soon the MIDlet is launched by a user
 
Methods inherited from class javax.microedition.midlet.MIDlet
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapViewer

public MapViewer()
Method Detail

startApp

public void startApp()
This method is called by the Applicationmanager as soon the MIDlet is launched by a user

Specified by:
startApp in class javax.microedition.midlet.MIDlet

pauseApp

public void pauseApp()
This method is called by the Applicationmanager, as an incoming call occurs

Specified by:
pauseApp in class javax.microedition.midlet.MIDlet

destroyApp

public void destroyApp(boolean unconditional)
This method is called by the Applicationmanager, as soon the MIDlet terminates

Specified by:
destroyApp in class javax.microedition.midlet.MIDlet
Parameters:
unconditional - -

commandAction

public void commandAction(javax.microedition.lcdui.Command c,
                          javax.microedition.lcdui.Displayable d)
Called by the system to indicate that a command has been invoked on a particular displayable.

Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener
Parameters:
c - the Command that was invoked
d - the Displayable on which the command was invoked