@Override public void handleMessage(Message msg) { super.handleMessage(msg); if (msg.what == 1) { mViewTempClear.setText("清除缓存\n正在删除缓存文件.."); DataCleanManager.clearAllCache(getApplicationContext()); String strTempSize = null; try { strTempSize = DataCleanManager.getTotalCacheSize(getApplicationContext()); } catch (Exception e) { e.printStackTrace(); } mViewTempClear.setText("清除缓存\n缓存大小为:" + strTempSize); } else if (msg.what == 2) { // int nMar = 0; // int nMin = 0; // GetVersion(SettingInfo.NETWORK_URL_VERSION, nMar, nMin); // String strReplyInfo = // "检查更新\n当前版本为"+SettingInfo.VERSION_MARJOR+"."+SettingInfo.VERSION_MINJOR+",已是最新版本"; // mViewCheckUpdate.setText(strReplyInfo); } }