360手机助手 v3.3.0版本的 MD5 值为:127c345ad16bbebee6e347381328afd0
以下内容为反编译后的 VideoMainActivity.java 源代码,内容仅作参考
package com.qihoo.appstore.video;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Pair;
import android.view.KeyEvent;
import com.qihoo.appstore.activities.MainActivity;
import com.qihoo.freewifi.push.R;
import java.util.List;
public class VideoMainActivity extends VideoBaseActivity {
private static final String w = VideoMainActivity.class.getSimpleName();
private void a() {
this.f.setText(getResources().getString(R.string.video));
this.f.setOnClickListener(null);
this.g.setVisibility(8);
this.e.setVisibility(0);
this.h.setVisibility(8);
this.i.setVisibility(0);
this.j.setVisibility(8);
this.c.setVisibility(8);
this.k.setVisibility(8);
this.l.setVisibility(0);
this.f3855b.setVisibility(8);
}
@Override
public void a(int i, Object obj) {
Intent intent = i == 2 ? new Intent(MainActivity.e(), (Class<?>) VideoCategoryActivity.class) : i == 3 ? new Intent(MainActivity.e(), (Class<?>) VideoDetailActivity.class) : i == 1 ? new Intent(MainActivity.e(), (Class<?>) VideoMainActivity.class) : i == 4 ? new Intent(MainActivity.e(), (Class<?>) VideoSimpleWebViewActivity.class) : (i == 5 || i == 6) ? new Intent(MainActivity.e(), (Class<?>) VideoSearchActivity.class) : new Intent(MainActivity.e(), (Class<?>) VideoOtherActivity.class);
if (obj instanceof List) {
for (Pair pair : (List) obj) {
if (((String) pair.first).equals("title") && !TextUtils.isEmpty((String) pair.second)) {
intent.putExtra((String) pair.first, (String) pair.second);
}
if (((String) pair.first).equals("extra") && !TextUtils.isEmpty((String) pair.second) && i == 2) {
intent.putExtra((String) pair.first, this.n);
}
if (((String) pair.first).equals("media_type")) {
intent.putExtra((String) pair.first, (String) pair.second);
}
if (((String) pair.first).equals("url")) {
intent.putExtra((String) pair.first, (String) pair.second);
}
}
}
MainActivity.e().b(intent);
}
@Override
public void a(String[] strArr) {
}
@Override
public boolean b() {
return true;
}
@Override
public boolean d() {
MainActivity.e().onKeyDown(4, new KeyEvent(0, 4));
return true;
}
@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
this.mStatTag = "vd001";
a();
this.v = "http://video.mobilem.360.cn?net=" + (this.s ? "wifi" : "2g");
this.f.setText(R.string.video_search);
}
@Override
public void onDestroy() {
super.onDestroy();
}
}