blueme.messenger
Class BMM1

java.lang.Object
  extended by javax.microedition.midlet.MIDlet
      extended by blueme.messenger.BMM1
All Implemented Interfaces:
iConstants, iBootLoader_GUI, iBootLoader_Kernel, java.lang.Runnable, javax.microedition.lcdui.CommandListener

public class BMM1
extends javax.microedition.midlet.MIDlet
implements javax.microedition.lcdui.CommandListener, java.lang.Runnable, iBootLoader_Kernel, iBootLoader_GUI, iConstants


Field Summary
 
Fields inherited from interface blueme.messenger.common.iConstants
ADMIN_UID, APP_TITLE, BLUETOOTH_INDEX, BLUETOOTH_LENGTH, BLUETOOTH_POSTFIX, BLUETOOTH_PREFIX, COM_OBJECTS, DISCOVERY_SLEEP, GPRS_INDEX, MAX_REDIRECTS, MSG_MAX_COUNT, MSG_MAX_LENGTH, NICK_MAX_LENGTH, PID_LENGTH, UID_LENGTH
 
Constructor Summary
BMM1()
           
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command command, javax.microedition.lcdui.Displayable displayable)
          Method for command actions.
 void destroyApp(boolean unconditional)
          Method used by the mobile phone to exit the application.
 void endApplication()
          Method used to end the application.
 void exitApp()
          Method used by either the application it self or the user to exit the application.
 java.lang.String getProperty(java.lang.String name)
          Used to get system properties.
 boolean nativeAction(java.lang.String url)
          Method used by the kernel to access native platform functions.
 void pauseApp()
          Method used when the application is put on pause.
 void run()
          Method for command actions.
 void startApp()
          This is the entry point for starting the application.
 
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

BMM1

public BMM1()
Method Detail

startApp

public void startApp()
This is the entry point for starting the application. Determines if the application is already started (which is the case if the user or the mobile phone pauses the application), if it was started manually by the user, or if the application was started from an incoming event (SMS).

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

pauseApp

public void pauseApp()
Method used when the application is put on pause.

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

destroyApp

public void destroyApp(boolean unconditional)
Method used by the mobile phone to exit the application.

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

exitApp

public void exitApp()
Method used by either the application it self or the user to exit the application. TODO: Why isn't endApplication used?


commandAction

public void commandAction(javax.microedition.lcdui.Command command,
                          javax.microedition.lcdui.Displayable displayable)
Method for command actions.

Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener

run

public void run()
Method for command actions. Used by commandAction.

Specified by:
run in interface java.lang.Runnable

nativeAction

public boolean nativeAction(java.lang.String url)
Method used by the kernel to access native platform functions. This might be things like opening the wap browser.

Specified by:
nativeAction in interface iBootLoader_GUI
Specified by:
nativeAction in interface iBootLoader_Kernel

endApplication

public void endApplication()
Description copied from interface: iBootLoader_GUI
Method used to end the application.

Specified by:
endApplication in interface iBootLoader_GUI
Specified by:
endApplication in interface iBootLoader_Kernel

getProperty

public java.lang.String getProperty(java.lang.String name)
Used to get system properties. TODO: Why are we only looking at did? (did: Distributor ID)

Specified by:
getProperty in interface iBootLoader_GUI
Specified by:
getProperty in interface iBootLoader_Kernel