Example #1
0
 /*     */ public void commandAction(Command cmd, Displayable dsplbl) {
   /*  75 */ if (cmd == this._retryCmd)
   /*     */ {
     /*  77 */ InitForm initF = new InitForm();
     /*  78 */ ContactListMidlet.getInstance()._display.setCurrent(initF);
     /*  79 */ FGApp.getInstance().setTopPane(initF);
     /*  80 */ initF.startReg();
     /*  81 */ } else if (cmd == this._retrySyncCmd) {
     /*  82 */ Utilities.logData("InitForm user retrying sync");
     /*  83 */ removeCommand(this._retrySyncCmd);
     /*  84 */ FGApp.getInstance().sendZeroDataAlertToBG(15);
     /*  85 */ this._stateString.setText(COLD_SYNCER_STATE_TEXT);
     /*  86 */ this._errorItem.setLabel(Constants.STRING_EMPTY_STRING);
     /*  87 */ this._errorItem.setText(Constants.STRING_EMPTY_STRING);
     /*  88 */ this._progressString.setText(Constants.STRING_EMPTY_STRING);
     /*  89 */ } else if (cmd == this._retryPimCmd) {
     /*  90 */ Utilities.logData("InitForm user retrying PIM");
     /*  91 */ removeCommand(this._retryPimCmd);
     /*  92 */ this._stateString.setText(PIM_CACHER_STATE_TEXT);
     /*  93 */ this._errorItem.setLabel(Constants.STRING_EMPTY_STRING);
     /*  94 */ this._errorItem.setText(Constants.STRING_EMPTY_STRING);
     /*  95 */ this._progressString.setText(Constants.STRING_EMPTY_STRING);
     /*  96 */ PIMCacheRunner pimRunner = new PIMCacheRunner();
     /*  97 */ pimRunner.start();
     /*     */ }
   /*     */ }
Example #2
0
 /*     */ public void firstSyncDetected() {
   /*  56 */ if (this.regRunner != null) {
     /*  57 */ this.regRunner.done();
     /*     */ }
   /*  59 */ FGApp.getInstance().sendZeroDataAlertToBG(23);
   /*  60 */ ContactListMidlet.getInstance().startupScreenflow();
   /*     */ }