Class BluetoothCar

java.lang.Object
  extended byjavax.microedition.midlet.MIDlet
      extended byBluetoothCar

public class BluetoothCar
extends javax.microedition.midlet.MIDlet

Copyright (c) 2003 Sony Ericsson Mobile Communications AB
All Rights Reserved.

BluetoothCar is the main program. It creates a SPPServer, a GUI and a CarAPI. The CarAPI is a parameter when creating SPPServer and GUI.

Version:
1.14
Author:
Christopher Wong, Åke Rydgren

Field Summary
static java.lang.String aboutString
           
static java.lang.String versionString
           
 
Constructor Summary
BluetoothCar()
          Constructs a new BluetoothCar object.
 
Method Summary
 void destroyApp(boolean unconditional)
          This will cleanup and release all resources.
 boolean guiUpdated()
          Checks if the GUI has processed all pending car events.
 void pauseApp()
          Signals the MIDlet to enter Paused state.
 void startApp()
          Signals the MIDlet that it has entered the Active state.
 
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

aboutString

public static final java.lang.String aboutString
See Also:
Constant Field Values

versionString

public static final java.lang.String versionString
See Also:
Constant Field Values
Constructor Detail

BluetoothCar

public BluetoothCar()
Constructs a new BluetoothCar object.

Method Detail

guiUpdated

public boolean guiUpdated()
Checks if the GUI has processed all pending car events.

Returns:
true if the GUI has processed all pending car events.

startApp

public void startApp()
Signals the MIDlet that it has entered the Active state.


pauseApp

public void pauseApp()
Signals the MIDlet to enter Paused state.


destroyApp

public void destroyApp(boolean unconditional)
This will cleanup and release all resources.

Parameters:
unconditional - whether it is true or false the MIDlet will cleanup and exit.