Exemplo 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());
    }
  }
Exemplo n.º 2
0
 public void onNotAnswered() {
   Calendar calendar = Calendar.getInstance();
   Traces.addLine(
       "onNotAnswered: " + calendar.get(Calendar.MINUTE) + " " + calendar.get(Calendar.SECOND));
   this.showTraceScreen();
 }