Пример #1
0
 public void doLoadAll() {
   iMobile_AppGlobalVar.SetThisApp((iMobile_AppGlobalVar) getApplication());
   iMobile_AppGlobalVar.getDeviceInfo(this);
   DealMsg.loadAll(this);
   DefMsg.loadAll(this);
   AppDealWifi.LogMsg("language is " + Locale.getDefault().getLanguage());
   if (!DealMsg.g_isDemo) {
     if (iMobile_AppGlobalVar.isConn()) {
       break label74;
     }
     AppDealWifi.LogMsg(" connect socket in doLoadAll");
     iMobile_AppGlobalVar.CloseConn();
     iMobile_AppGlobalVar.BackgroundReConn();
   }
   for (; ; ) {
     MsgReceiver.loadAll(this);
     return;
     label74:
     AppDealWifi.LogMsg(" socket is already connected in doLoadAll");
   }
 }
Пример #2
0
 public void doSaveAll() {
   DealMsg.saveAll(this);
   DefMsg.saveAll(this);
   MsgReceiver.saveAll(this);
 }