360手机助手 v3.3.0版本的 MD5 值为:127c345ad16bbebee6e347381328afd0
以下内容为反编译后的 r.java 源代码,内容仅作参考
package com.qihoo.appstore.playgame;
import android.os.AsyncTask;
import android.text.TextUtils;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.qihoo.appstore.utils.de;
import com.qihoo.freewifi.push.R;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONException;
import org.json.JSONObject;
public class r extends AsyncTask {
final PlayGameActivity f3134a;
private final List f3135b = new ArrayList();
public r(PlayGameActivity playGameActivity) {
this.f3134a = playGameActivity;
}
@Override
public Boolean doInBackground(Object... objArr) {
boolean z = false;
String b2 = com.qihoo.appstore.http.h.a().b(String.format("http://openbox.mobilem.360.cn/guessyoulike/generalguess?m2=%s&cid=2&from=game&f=mygame&fm=mygame&m=%s&v=%s&re=1&ch=%s&nt=%d&num=48", com.qihoo.appstore.r.g.d(), com.qihoo.appstore.r.g.c(), de.f(this.f3134a.getApplicationContext()), de.i(this.f3134a.getApplicationContext()), Integer.valueOf(com.qihoo.appstore.r.g.a())));
if (b2 != null) {
try {
if (new JSONObject(b2).optInt("errno", -1) == 0) {
u.a(this.f3134a.getApplicationContext(), "guess_you_like_cache", b2);
z = this.f3134a.a(b2, this.f3135b);
}
} catch (JSONException e) {
}
}
return Boolean.valueOf(z);
}
@Override
public void onPostExecute(Boolean bool) {
this.f3134a.a(this.f3135b, bool);
}
@Override
public void onPreExecute() {
PlayGameViewPager playGameViewPager;
LinearLayout linearLayout;
View view;
TextView textView;
TextView textView2;
TextView textView3;
playGameViewPager = this.f3134a.w;
playGameViewPager.setVisibility(4);
linearLayout = this.f3134a.A;
linearLayout.setVisibility(0);
view = this.f3134a.v;
view.setVisibility(0);
textView = this.f3134a.u;
textView.setVisibility(0);
textView2 = this.f3134a.z;
textView2.setVisibility(0);
textView3 = this.f3134a.z;
textView3.setText(R.string.recommend_Wait_Loading);
String a2 = u.a(this.f3134a.getApplicationContext(), "guess_you_like_cache");
if (TextUtils.isEmpty(a2)) {
return;
}
this.f3134a.a(a2, this.f3135b);
this.f3134a.a(this.f3135b, Boolean.valueOf(TextUtils.isEmpty(a2) ? false : true));
this.f3134a.M = true;
}
}