Esempio n. 1
0
  public void call(String number) {
    Calendar calendar = Calendar.getInstance();
    Traces.addLine("call: " + calendar.get(Calendar.MINUTE) + " " + calendar.get(Calendar.SECOND));

    this.showCallScreen(number);

    try {
      this.platformRequest("tel:" + number);
    } catch (ConnectionNotFoundException ex) {
      Traces.addLine(ex.getMessage());
    }
  }
Esempio n. 2
0
  public void startApp() {
    Traces.addLine("Midlet::startApp");

    Displayable current = Display.getDisplay(this).getCurrent();
    if (current == null) {
      this.showListScreen();
    }
  }
Esempio n. 3
0
 public void onNotAnswered() {
   Calendar calendar = Calendar.getInstance();
   Traces.addLine(
       "onNotAnswered: " + calendar.get(Calendar.MINUTE) + " " + calendar.get(Calendar.SECOND));
   this.showTraceScreen();
 }
Esempio n. 4
0
 public void onRequestError(String code) {
   Traces.addLine("Midlet::onRequestError");
   this.showListScreen();
 }
Esempio n. 5
0
 public void onRequestComplete(String response) {
   Traces.addLine("Midlet::onRequestComplete");
   this.listScreen.updateList(response);
 }
Esempio n. 6
0
 public void destroyApp(boolean unconditional) {
   Traces.addLine("Midlet::destroyApp");
 }
Esempio n. 7
0
 public void pauseApp() {
   Traces.addLine("Midlet::pauseApp");
 }