| |
|
| example.sms.SMSSend
SMSSend | public class SMSSend extends MIDlet implements CommandListener(Code) | | An example MIDlet to send text via an SMS MessageConnection
|
Constructor Summary | |
public | SMSSend() Initialize the MIDlet with the current display object and
graphical components. |
Method Summary | |
public void | commandAction(Command c, Displayable s) | public void | destroyApp(boolean unconditional) Destroy must cleanup everything. | public void | pauseApp() | public void | startApp() startApp should return immediately to keep the dispatcher
from hanging. |
destinationAddressBox | TextBox destinationAddressBox(Code) | | Area where the user enters the phone number to send the message to
|
display | Display display(Code) | | current display.
|
errorMessageAlert | Alert errorMessageAlert(Code) | | Error message displayed when an invalid phone number is entered
|
exitCommand | Command exitCommand(Code) | | user interface command for indicating Exit request.
|
okCommand | Command okCommand(Code) | | user interface command for proceeding to the next screen
|
resumeScreen | Displayable resumeScreen(Code) | | The last visible screen when we paused
|
sendingMessageAlert | Alert sendingMessageAlert(Code) | | Alert that is displayed when a message is being sent
|
smsPort | String smsPort(Code) | | The port on which we send SMS messages
|
SMSSend | public SMSSend()(Code) | | Initialize the MIDlet with the current display object and
graphical components.
|
commandAction | public void commandAction(Command c, Displayable s)(Code) | | Respond to commands, including exit
Parameters: c - user interface command requested Parameters: s - screen object initiating the request |
destroyApp | public void destroyApp(boolean unconditional)(Code) | | Destroy must cleanup everything.
Parameters: unconditional - true if a forced shutdown was requested |
pauseApp | public void pauseApp()(Code) | | Remember what screen is showing
|
startApp | public void startApp()(Code) | | startApp should return immediately to keep the dispatcher
from hanging.
|
|
|
|