导航菜单

页面标题

页面副标题

95爱播免登录版 v3.1.9 - AboutActivity.java 源代码

正在查看: 95爱播免登录版 v3.1.9 应用的 AboutActivity.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.showself.ui;

import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import com.mifeng.ui.R;
import com.showself.domain.SystemInfo;
import com.showself.net.j;
import com.showself.utils.Utils;
import com.showself.utils.p;

public class AboutActivity extends c {
    private ImageView a;
    private String[] b = {"外网", "34", "51", "52", "91"};
    private TextView c;
    private TextView d;

    class a implements View.OnClickListener {
        a() {
        }

        @Override
        public void onClick(View view) {
            AboutActivity.this.finish();
        }
    }

    class b implements View.OnClickListener {

        class a implements DialogInterface.OnClickListener {
            a() {
            }

            @Override
            public void onClick(DialogInterface dialogInterface, int i2) {
                Intent intent = new Intent();
                intent.setAction("SHOWSELF_SESSION_EXPIRED_ACTION");
                intent.setPackage(Utils.P());
                intent.putExtra("skip_to_page", 1);
                AboutActivity.this.sendBroadcast(intent);
                if (i2 == 0) {
                    j.f2322f = "https://e1.imeeta.com/inf";
                    j.f2321e = "https://e1.imeeta.com/inf";
                } else if (i2 == 1) {
                    j.f2322f = "https://192.168.83.34/inf";
                    j.f2321e = "https://192.168.83.34/inf";
                } else if (i2 == 2) {
                    j.f2322f = "https://192.168.83.51/inf";
                    j.f2321e = "https://192.168.83.51/inf";
                } else if (i2 == 3) {
                    j.f2322f = "https://192.168.83.52/inf";
                    j.f2321e = "https://192.168.83.52/inf";
                } else if (i2 == 4) {
                    j.f2322f = "https://192.168.83.91/inf";
                    j.f2321e = "https://192.168.83.91/inf";
                }
                AboutActivity.this.finish();
            }
        }

        b() {
        }

        @Override
        public void onClick(View view) {
            if (view.getId() == 2131296914) {
                new AlertDialog.Builder(AboutActivity.this).setTitle("内部测试使用").setItems(AboutActivity.this.b, new a()).create().show();
            }
        }
    }

    @Override
    public void init() {
        ((TextView) findViewById(R.id.tv_nav_title)).setText(R.string.menu_about);
        ((Button) findViewById(R.id.btn_nav_left)).setOnClickListener(new a());
        TextView textView = (TextView) findViewById(R.id.tv_about_version);
        if (p.a) {
            textView.setText("V" + SystemInfo.getShareSystem().getA_appver() + "_" + j.a);
            ImageView imageView = (ImageView) findViewById(R.id.iv_about_showself);
            this.a = imageView;
            imageView.setOnClickListener(new b());
        } else {
            textView.setText("V" + SystemInfo.getShareSystem().getA_appver());
        }
        this.c = (TextView) findViewById(R.id.tv_about_official_qq);
        this.d = (TextView) findViewById(R.id.tv_about_official_weixin);
        if (!TextUtils.isEmpty(ShowSelfApp.h().i())) {
            this.c.setText(getString(R.string.about_qq) + ShowSelfApp.h().i());
        }
        if (TextUtils.isEmpty(ShowSelfApp.h().i())) {
            return;
        }
        this.d.setText("主播招募QQ :" + ShowSelfApp.h().k());
    }

    @Override
    protected void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        setContentView(R.layout.about_setting);
        init();
    }

    @Override
    protected void onResume() {
        super.onResume();
    }

    @Override
    protected void onStop() {
        super.onStop();
    }

    @Override
    public void refresh(Object... objArr) {
    }
}