和通讯录 v4.2.0版本的 MD5 值为:f213fa766dccbfebde0dd8add5534518

以下内容为反编译后的 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.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;

public class NotificationDemo extends ICloudActivity implements View.OnClickListener {

    private com.chinamobile.contacts.im.manager.d f1480a;

    @Override
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        setContentView(C0019R.layout.activity_notification_demo);
        getIcloudActionBar().setNavigationMode(3);
        getIcloudActionBar().setDisplayAsUpTitle("你妹啊");
        this.f1480a = 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.f1480a.a(intent, "收到新信息");
                return;
            case C0019R.id.button2:
                Intent intent2 = new Intent(this, (Class<?>) Main.class);
                intent2.putExtra("tagId", ApplicationUtils.SMS_SHORTCUT);
                this.f1480a.b(intent2, "信息发送失败");
                return;
            case C0019R.id.button3:
                Intent intent3 = new Intent(this, (Class<?>) DonotDistrubeMainActivity.class);
                intent3.putExtra("type", 2);
                intent3.putExtra("fromNotify", true);
                this.f1480a.e(intent3, "防打扰拦截99个来电!");
                return;
            case C0019R.id.button4:
                Intent intent4 = new Intent(this, (Class<?>) DonotDistrubeMainActivity.class);
                intent4.putExtra("tagId", ApplicationUtils.SMS_SHORTCUT);
                this.f1480a.e(intent4, "信息下载失败");
                return;
            case C0019R.id.button5:
                this.f1480a.d(BrowserActivity.createIntent(this, "http://ifanr.com", "世界杯主题活动点击查看"), "世界杯主题活动点击查看");
                return;
            case C0019R.id.button6:
                this.f1480a.a("新版本发布啦!");
                return;
            case C0019R.id.button7:
                this.f1480a.b("收到新的语音留言");
                return;
            case C0019R.id.button8:
            default:
                return;
            case C0019R.id.button9:
                Intent intent5 = new Intent(this, (Class<?>) Main.class);
                intent5.putExtra("FeiliaoKicked", "1");
                com.chinamobile.contacts.im.manager.d.a(this).f(intent5, "手机号已在另一台手机上启用");
                return;
            case C0019R.id.button10:
                Intent intent6 = new Intent(this, (Class<?>) ComposeMessageActivity.class);
                intent6.putExtra("thread_id", 8);
                intent6.setFlags(335544320);
                com.chinamobile.contacts.im.manager.d.a(this).g(intent6, "网络信息发送失败");
                return;
            case C0019R.id.button11:
                Intent intent7 = new Intent(this, (Class<?>) Main.class);
                intent7.putExtra("tab_action", "TAB_INDEX_SYNC");
                this.f1480a.h(intent7, "自动同步完成");
                return;
        }
    }
}