コード例 #1
0
ファイル: Start.java プロジェクト: vohoaiviet/placecomm
 public void myStartGoOnline() {
   try {
     super.startGoOnline("localhost");
   } catch (MIDletStateChangeException ex) {
     ex.printStackTrace();
   }
   System.out.print("Join  Agent Platform Done");
 }
コード例 #2
0
ファイル: MIDlet.java プロジェクト: BackupTheBerlios/polish
 /**
  * Provides a <code>MIDlet</code> with a mechanism to indicate that it is interested in entering
  * the <em>Active</em> state. Calls to this method can be used by the application management
  * software to determine which applications to move to the <em>Active</em> state.
  *
  * <p>When the application management software decides to activate this application it will call
  * the <code>startApp</code> method.
  *
  * <p>The application is generally in the <em>Paused</em> state when this is called. Even in the
  * paused state the application may handle asynchronous events such as timers or callbacks.
  * </DL>
  */
 public final void resumeRequest() {
   try {
     startApp();
   } catch (MIDletStateChangeException e) {
     // TODO enough handle MIDletStateChangeException
     e.printStackTrace();
   }
 }