|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.midlet.MIDlet
example.bluetooth.demo.DemoMIDlet
public final class DemoMIDlet
Contains the Bluetooth API demo, that allows to download the specific images from the other devices.
Field Summary | |
---|---|
(package private) static int |
ALERT_TIMEOUT
The messages are shown in this demo this amount of time. |
Constructor Summary | |
---|---|
DemoMIDlet()
Constructs main screen of the MIDlet. |
Method Summary | |
---|---|
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
Responds to commands issued on "client or server" form. |
protected void |
destroyApp(boolean unconditional)
Destroys the application. |
(package private) javax.microedition.lcdui.Displayable |
getDisplayable()
Returns the displayable object of this screen - it is required for Alert construction for the error cases. |
protected void |
pauseApp()
Does nothing. |
(package private) void |
show()
Shows main menu of MIDlet on the screen. |
void |
startApp()
Creates the demo view and action buttons. |
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 |
Field Detail |
---|
static final int ALERT_TIMEOUT
Constructor Detail |
---|
public DemoMIDlet()
Method Detail |
---|
public void startApp()
startApp
in class javax.microedition.midlet.MIDlet
protected void destroyApp(boolean unconditional)
destroyApp
in class javax.microedition.midlet.MIDlet
protected void pauseApp()
pauseApp
in class javax.microedition.midlet.MIDlet
public void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable d)
commandAction
in interface javax.microedition.lcdui.CommandListener
c
- command object source of actiond
- screen object containing the item action was performed onvoid show()
javax.microedition.lcdui.Displayable getDisplayable()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |