360手机助手 v3.3.0版本的 MD5 值为:127c345ad16bbebee6e347381328afd0
以下内容为反编译后的 VideoSearchActivity.java 源代码,内容仅作参考
package com.qihoo.appstore.video;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Pair;
import com.qihoo.appstore.activities.MainActivity;
import com.qihoo.freewifi.push.R;
import java.util.List;
public class VideoSearchActivity extends VideoBaseActivity {
private static final String w = VideoSearchActivity.class.getSimpleName();
private void a(Intent intent) {
this.f.setText(getResources().getString(R.string.video_search));
this.f.setOnClickListener(null);
this.g.setVisibility(8);
this.e.setVisibility(8);
this.h.setVisibility(8);
this.i.setVisibility(0);
this.j.setVisibility(8);
this.c.setVisibility(8);
this.k.setVisibility(8);
this.l.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("title", (String) pair.second);
}
if (((String) pair.first).equals("extra") && !TextUtils.isEmpty((String) pair.second) && i == 2) {
intent.putExtra("extra", (String) pair.second);
}
if (((String) pair.first).equals("media_type")) {
intent.putExtra("media_type", (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 false;
}
@Override
protected boolean d() {
return false;
}
@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
this.mStatTag = "vdsrch";
a(getIntent());
this.v = "http://video.mobilem.360.cn/search?net=" + (this.s ? "wifi" : "2g");
this.f3854a.getVideoJavaScriptinterface().setPageTypeChangeCallback(this);
this.f3854a.setIfKnowDownloadStatus(false);
}
@Override
public void onDestroy() {
super.onDestroy();
}
@Override
public void onResume() {
this.f3854a.setFocusable(true);
this.f3854a.setFocusableInTouchMode(true);
this.f3854a.requestFocus();
super.onResume();
}
}