和通讯录 v3.9.6版本的 MD5 值为:669178e2ee1b2311daf378bd20c6bbe1
以下内容为反编译后的 NotificationDemo.java 源代码,内容仅作参考
package com.chinamobile.contacts.im.call.view;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.chinamobile.contacts.im.C0019R;
import com.chinamobile.contacts.im.Main;
import com.chinamobile.contacts.im.conference.ConferenceControlActivity;
import com.chinamobile.contacts.im.donotdisturbe.DonotDistrubeMainActivity;
import com.chinamobile.contacts.im.mms2.ui.ComposeMessageActivity;
import com.chinamobile.contacts.im.setting.BrowserActivity;
import com.chinamobile.contacts.im.ui.ICloudActivity;
import com.chinamobile.contacts.im.utils.ApplicationUtils;
import org.simpleframework.xml.strategy.Name;
public class NotificationDemo extends ICloudActivity implements View.OnClickListener {
private com.chinamobile.contacts.im.manager.d f1566a;
@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(C0019R.layout.activity_notification_demo);
getIcloudActionBar().setNavigationMode(3);
getIcloudActionBar().setDisplayAsUpTitle("你妹啊");
this.f1566a = com.chinamobile.contacts.im.manager.d.a(this);
}
@Override
public void onResume() {
super.onResume();
}
@Override
public void onPause() {
super.onPause();
}
@Override
public void onDestroy() {
super.onDestroy();
}
@Override
public void onClick(View view) {
switch (view.getId()) {
case C0019R.id.button1:
Intent intent = new Intent(this, (Class<?>) Main.class);
intent.putExtra("tagId", ApplicationUtils.SMS_SHORTCUT);
this.f1566a.a(intent, "收到新信息");
return;
case C0019R.id.button2:
Intent intent2 = new Intent(this, (Class<?>) Main.class);
intent2.putExtra("tagId", ApplicationUtils.SMS_SHORTCUT);
this.f1566a.b(intent2, "信息发送失败");
return;
case C0019R.id.button3:
Intent intent3 = new Intent(this, (Class<?>) DonotDistrubeMainActivity.class);
intent3.putExtra("type", 2);
intent3.putExtra("fromNotify", true);
this.f1566a.f(intent3, "防打扰拦截99个来电!");
return;
case C0019R.id.button4:
Intent intent4 = new Intent(this, (Class<?>) DonotDistrubeMainActivity.class);
intent4.putExtra("tagId", ApplicationUtils.SMS_SHORTCUT);
this.f1566a.f(intent4, "信息下载失败");
return;
case C0019R.id.button5:
this.f1566a.d(BrowserActivity.createIntent(this, "http://ifanr.com", "世界杯主题活动点击查看"), "世界杯主题活动点击查看");
return;
case C0019R.id.button6:
this.f1566a.a("新版本发布啦!");
return;
case C0019R.id.button7:
this.f1566a.b("收到新的语音留言");
return;
case C0019R.id.button8:
Intent intent5 = new Intent(this, (Class<?>) ConferenceControlActivity.class);
intent5.putExtra(Name.MARK, "caiyun");
intent5.putExtra("pwd", 123456);
com.chinamobile.contacts.im.manager.d.a(this).e(intent5, "进入会议控制");
return;
case C0019R.id.button9:
Intent intent6 = new Intent(this, (Class<?>) Main.class);
intent6.putExtra("FeiliaoKicked", "1");
com.chinamobile.contacts.im.manager.d.a(this).g(intent6, "手机号已在另一台手机上启用");
return;
case C0019R.id.button10:
Intent intent7 = new Intent(this, (Class<?>) ComposeMessageActivity.class);
intent7.putExtra("thread_id", 8);
intent7.setFlags(335544320);
com.chinamobile.contacts.im.manager.d.a(this).h(intent7, "网络信息发送失败");
return;
case C0019R.id.button11:
Intent intent8 = new Intent(this, (Class<?>) Main.class);
intent8.putExtra("tab_action", "TAB_INDEX_SYNC");
this.f1566a.i(intent8, "自动同步完成");
return;
default:
return;
}
}
}