1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260
| protected void onCreate(Bundle bundle) { String str; String str2; String str3; super.onCreate(bundle); this.connectionService = new ConnectionService(this); this.isDestroyed = false; if (bundle != null) { onRestoreInstanceState(bundle); } else { if (LoginActivity.c != null) { LoginActivity.c.finish(); } if (!api.loginBoolean) { api.notLogin = true; } } setContentView(0x7f0c0089); initDrawerLayout(); context = this; Popup = Util.getString(this, "Popup"); api.setlianTime(context, Long.valueOf(Calendar.getInstance().getTimeInMillis())); this.progressDialog = new Loading_view(this, 0x7f120112); this.tvBanner = findViewById(0x7f0903a4); this.menu_frame = (FrameLayout) findViewById(0x7f09025f); ImageView imageView = (ImageView) findViewById(0x7f09030f); this.sidebar = imageView; imageView.setOnClickListener(new test$17(this)); ConstraintLayout findViewById = findViewById(0x7f090191); this.sidebarzhong = findViewById; findViewById.setOnClickListener(new test$18(this)); userName = (TextView) findViewById(0x7f0903c3); email = (TextView) findViewById(0x7f090122); profileName = (TextView) findViewById(0x7f0902bb); leftTypename = (TextView) findViewById(0x7f0901f5); meunTypename = (TextView) findViewById(0x7f090266); shuaProfile = (Button) findViewById(0x7f09030e); leftDate = (TextView) findViewById(0x7f0901f3); menuDate = (TextView) findViewById(0x7f09025e); diqiu = (ImageView) findViewById(0x7f0901cf); OnlineService = (Button) findViewById(0x7f090008); qiandao = (Button) findViewById(0x7f0902c6); this.chuguo = findViewById(0x7f0900b5); this.huiguo = findViewById(0x7f0901b5); this.imglocalimg = (ImageView) findViewById(0x7f0901d1); this.imgprivateimg = (ImageView) findViewById(0x7f0901d5); this.imglocaltext = (TextView) findViewById(0x7f0900b6); this.imgprivatetext = (TextView) findViewById(0x7f0901b6); this.chuguo.setOnClickListener(new test$19(this)); this.huiguo.setOnClickListener(new test$20(this)); shuaProfile.setOnClickListener(new test$21(this)); ConstraintLayout findViewById2 = findViewById(0x7f090291); this.node_constraint_layout = findViewById2; findViewById2.setOnClickListener(new test$22(this)); Button button = (Button) findViewById(0x7f090008); button.setOnClickListener(new test$23(this, button)); ((LinearLayout) findViewById(0x7f090304)).setOnClickListener(new test$24(this)); ((LinearLayout) findViewById(0x7f0900f4)).setOnClickListener(new test$25(this)); findViewById(0x7f09018f).setOnClickListener(new test$26(this)); qiandao.setOnClickListener(new test$28(this, new test$27(this))); LinearLayout linearLayout = (LinearLayout) findViewById(0x7f090013); linearLayout.setOnClickListener(new test$29(this)); linearLayout.setVisibility(8); LinearLayout linearLayout2 = (LinearLayout) findViewById(0x7f090009); linearLayout2.setOnClickListener(new test$30(this)); linearLayout2.setVisibility(8); LinearLayout linearLayout3 = (LinearLayout) findViewById(0x7f09000b); linearLayout3.setOnClickListener(new test$31(this)); linearLayout3.setVisibility(8); ((LinearLayout) findViewById(0x7f0903d5)).setOnClickListener(new test$32(this)); LinearLayout linearLayout4 = (LinearLayout) findViewById(0x7f0902a6); password = linearLayout4; linearLayout4.setOnClickListener(new test$33(this)); LinearLayout linearLayout5 = (LinearLayout) findViewById(0x7f090036); account = linearLayout5; linearLayout5.setOnClickListener(new test$34(this)); ((LinearLayout) findViewById(0x7f090306)).setOnClickListener(new test$35(this)); ((LinearLayout) findViewById(0x7f090210)).setOnClickListener(new test$36(this)); ConstraintLayout findViewById3 = findViewById(0x7f09018e); this.group281_constraint_layout = findViewById3; findViewById3.setOnClickListener(new test$37(this)); this.versionCode = AppUtils.getVersionCode(context); Login login = (Login) Util.getObj(this, "account", Login.class); if (!api.loginBoolean) { str = "/node/getInformation_ex"; if (login == null) { if (api.notLogin) { HttpUtil.isDNS = true; showProgressDialog(); String deviceId = api.getDeviceId(this); JSONObject jSONObject = new JSONObject(); try { jSONObject.put("imei", deviceId); jSONObject.put("platform", "android"); jSONObject.put("version_number", this.versionCode); jSONObject.put("models", api.getSystemModel()); jSONObject.put("sdk", api.getSystemVersion()); jSONObject.put("m", Util.mmd5(api.getSign(context))); jSONObject.put("c", 88); } catch (JSONException e) { e.printStackTrace(); } String encode = AES.encode(jSONObject.toString(), "UDRnpNG4zVafoPDyKirGyqnq0gP4wlnS"); HashMap hashMap = new HashMap(); hashMap.put("value", encode); hashMap.put("t", date()); StringBuilder sb = new StringBuilder(); sb.append(api.Url); str2 = str; sb.append(str2); HttpUtil.Post_Async(sb.toString(), this.handlerUI, hashMap, this); } str2 = str; } else { str2 = str; if (api.notLogin) { HttpUtil.isDNS = true; showProgressDialog(); JSONObject jSONObject2 = new JSONObject(); try { str3 = "imei"; } catch (JSONException e2) { e = e2; str3 = "imei"; } try { jSONObject2.put("account", login.getAccount()); jSONObject2.put("password", login.getPassword()); jSONObject2.put("platform", "android"); jSONObject2.put("version_number", this.versionCode); jSONObject2.put("models", api.getSystemModel()); jSONObject2.put("sdk", api.getSystemVersion()); jSONObject2.put("m", Util.mmd5(api.getSign(context))); jSONObject2.put("c", 88); } catch (JSONException e3) { e = e3; e.printStackTrace(); String encode2 = AES.encode(jSONObject2.toString(), "UDRnpNG4zVafoPDyKirGyqnq0gP4wlnS"); HashMap hashMap2 = new HashMap(); hashMap2.put("value", encode2); hashMap2.put("t", date()); HttpUtil.Post_Async(api.Url + str2, this.handlerUI, hashMap2, this); handlerRefresh1 = new test$38(this); handlerRefresh = new test$39(this); WaveProgress findViewById4 = findViewById(0x7f0903d2); this.wave_progress_bar = findViewById4; findViewById4.setEnabled(true); this.wave_progress_bar.setOnClickListener(new test$40(this)); if (api.notLogin) { } attachService(); if (bundle == null) { } } String encode22 = AES.encode(jSONObject2.toString(), "UDRnpNG4zVafoPDyKirGyqnq0gP4wlnS"); HashMap hashMap22 = new HashMap(); hashMap22.put("value", encode22); hashMap22.put("t", date()); HttpUtil.Post_Async(api.Url + str2, this.handlerUI, hashMap22, this); handlerRefresh1 = new test$38(this); handlerRefresh = new test$39(this); WaveProgress findViewById42 = findViewById(0x7f0903d2); this.wave_progress_bar = findViewById42; findViewById42.setEnabled(true); this.wave_progress_bar.setOnClickListener(new test$40(this)); if (api.notLogin) { } attachService(); if (bundle == null) { } } } } else if (api.notLogin) { init(); Contrastjudge(); startService(); str = "/node/getInformation_ex"; if (api.getUser(context).getGive_login_time() == 1) { if (!isFinishing()) { Dialogv("提示", "获得首日赠送一天时长"); } } else if (api.getUser(context).getGive_login_time() == 2) { if (!isFinishing()) { Dialogv("提示", "获得每日30分钟时长"); } } else if (api.getUser(context).getGive_login_time() == 3) { if (!isFinishing()) { Dialogv("提示", "获得首日赠送一天时长"); } } else { api.getUser(context).getGive_login_time(); } api.notLogin = false; str2 = str; } else { str3 = "imei"; str2 = "/node/getInformation_ex"; handlerRefresh1 = new test$38(this); handlerRefresh = new test$39(this); WaveProgress findViewById422 = findViewById(0x7f0903d2); this.wave_progress_bar = findViewById422; findViewById422.setEnabled(true); this.wave_progress_bar.setOnClickListener(new test$40(this)); if (api.notLogin) { SSRSubUpdateJob.schedule(); } attachService(); if (bundle == null) { if (api.getUser(context) != null && api.listhui != null && api.listchu != null && api.listhuipu != null && api.listhuigao != null && api.listchupu != null && api.listchugao != null) { init(); Contrastjudge1(); startService(); if (load) { isConnect = true; load = true; this.wave_progress_bar.setValue(100.0f); this.wave_progress_bar.time(); this.wave_progress_bar.setDownloadComplete(true); isConnect = false; return; } return; } api.notLogin = true; showProgressDialog(); String deviceId2 = api.getDeviceId(this); JSONObject jSONObject3 = new JSONObject(); try { jSONObject3.put(str3, deviceId2); jSONObject3.put("platform", "android"); jSONObject3.put("version_number", this.versionCode); jSONObject3.put("models", api.getSystemModel()); jSONObject3.put("sdk", api.getSystemVersion()); jSONObject3.put("m", Util.mmd5(api.getSign(context))); jSONObject3.put("c", 88); } catch (JSONException e4) { e4.printStackTrace(); } String encode3 = AES.encode(jSONObject3.toString(), "UDRnpNG4zVafoPDyKirGyqnq0gP4wlnS"); HashMap hashMap3 = new HashMap(); hashMap3.put("value", encode3); hashMap3.put("t", date()); HttpUtil.Post_Async(api.Url + str2, this.handlerUI, hashMap3, this); return; } return; } str3 = "imei"; handlerRefresh1 = new test$38(this); handlerRefresh = new test$39(this); WaveProgress findViewById4222 = findViewById(0x7f0903d2); this.wave_progress_bar = findViewById4222; findViewById4222.setEnabled(true); this.wave_progress_bar.setOnClickListener(new test$40(this)); if (api.notLogin) { } attachService(); if (bundle == null) { } }
|