|
@@ -153,8 +153,8 @@ public class MainFragmentActivity extends FragmentActivity implements IVvsipServ
|
|
@Bind(R.id.activity_main_layout_tv_version)
|
|
@Bind(R.id.activity_main_layout_tv_version)
|
|
TextView tvVersion;
|
|
TextView tvVersion;
|
|
|
|
|
|
- @Bind(R.id.activity_main_layout_tv_current_time)
|
|
|
|
- TextView tvCurrentTime;
|
|
|
|
|
|
+ //@Bind(R.id.activity_main_layout_tv_current_time)
|
|
|
|
+ //TextView tvCurrentTime;
|
|
@Bind(R.id.activity_main_layout_tv_sip_state)
|
|
@Bind(R.id.activity_main_layout_tv_sip_state)
|
|
TextView tvSipState;
|
|
TextView tvSipState;
|
|
|
|
|
|
@@ -219,10 +219,10 @@ public class MainFragmentActivity extends FragmentActivity implements IVvsipServ
|
|
case TIME_WHAT: // 如果当前Activity,进行UI的更新
|
|
case TIME_WHAT: // 如果当前Activity,进行UI的更新
|
|
try {
|
|
try {
|
|
//检测网络状态
|
|
//检测网络状态
|
|
- checkNetWorkStatus();
|
|
|
|
- tvCurrentTime.setText(TimeUtil.getInstance().getDataTime());
|
|
|
|
|
|
+ //checkNetWorkStatus();
|
|
|
|
+ //tvCurrentTime.setText(TimeUtil.getInstance().getDataTime());
|
|
} catch (NullPointerException e) {
|
|
} catch (NullPointerException e) {
|
|
- LogUtil.e("tvCurrentTime: ", tvCurrentTime + "");
|
|
|
|
|
|
+ //LogUtil.e("tvCurrentTime: ", tvCurrentTime + "");
|
|
}
|
|
}
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
@@ -320,8 +320,8 @@ public class MainFragmentActivity extends FragmentActivity implements IVvsipServ
|
|
Constants.CALL_STATE = Constants.STANDBY;
|
|
Constants.CALL_STATE = Constants.STANDBY;
|
|
|
|
|
|
//初始化时间
|
|
//初始化时间
|
|
- timeThread = new TimeThread();
|
|
|
|
- timeThread.start();
|
|
|
|
|
|
+ //timeThread = new TimeThread();
|
|
|
|
+ //timeThread.start();
|
|
|
|
|
|
appCheckUpdate();
|
|
appCheckUpdate();
|
|
}
|
|
}
|