example.mms
Class MMSSend

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

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

An example MIDlet to send text via an MMS MessageConnection


Constructor Summary
MMSSend()
          Initialize the MIDlet with the current display object and graphical components.
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable s)
          Respond to commands, including exit
 void destroyApp(boolean unconditional)
          Destroy must cleanup everything.
(package private)  javax.microedition.lcdui.Display getDisplay()
           
(package private)  MMSMessage getMessage()
           
 void pauseApp()
          Remember what screen is showing
(package private)  void show()
           
 void startApp()
          startApp should return immediately to keep the dispatcher from hanging.
 
Methods inherited from class javax.microedition.midlet.MIDlet
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MMSSend

public MMSSend()
Initialize the MIDlet with the current display object and graphical components.

Method Detail

startApp

public void startApp()
startApp should return immediately to keep the dispatcher from hanging.

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

pauseApp

public void pauseApp()
Remember what screen is showing

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

destroyApp

public void destroyApp(boolean unconditional)
Destroy must cleanup everything.

Specified by:
destroyApp in class javax.microedition.midlet.MIDlet
Parameters:
unconditional - true if a forced shutdown was requested

commandAction

public void commandAction(javax.microedition.lcdui.Command c,
                          javax.microedition.lcdui.Displayable s)
Respond to commands, including exit

Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener
Parameters:
c - user interface command requested
s - screen object initiating the request

show

void show()

getDisplay

javax.microedition.lcdui.Display getDisplay()

getMessage

MMSMessage getMessage()