package com.zxhl.cms.common;

import android.Manifest;

/**
 * Created by gaoleichao on 2018/4/25.
 */

public class Constant {

    //公共参数
    String UMENG_APPKEY = "597dbf2abbea835685001b27";

    String s = "D0EV7FZL45A5DVKD";

    public static final String scheme = "hwxg";

    public static int UPLOADMAXSIZE = 50;

    public static int UPLOADNUM = 5;

    public static String a = "D0EV7FZL45A5DVKD";
    public static String b = "E2Y1YREK2BYDAC5B";
    public static String WX_APPID = "wx7fc1506d059d5ac1";
    public static String WX_APPKEY = "77202c1939fbe6421f2e9c998a0bbec0";
    //    public static int SDKAPPID = 1400605334;
    public static int SDKAPPID = 1400655771;
    public static String PAY_RESULT = "pay_result";


    public static int REQUEST_CODE_ASK_PERMISSIONS = 0x0101;

    public static class Permission {
        public static final String PERMISSION_CAMERA = Manifest.permission.CAMERA;
        public static final String PERMISSION_RECORD_AUDIO = Manifest.permission.RECORD_AUDIO;

        public static final String PERMISSION_STORAGE = Manifest.permission.WRITE_EXTERNAL_STORAGE;
        public static final String PERMISSION_READ_STORAGE = Manifest.permission.READ_EXTERNAL_STORAGE;

        public static final String PERMISSION_FINE_LOCATION = Manifest.permission.ACCESS_FINE_LOCATION;

        public static final String PERMISSION_PHONE = Manifest.permission.READ_PHONE_STATE;//读取电话的状态

        public static final String PERMISSION_COARSE_LOCATION = Manifest.permission.ACCESS_COARSE_LOCATION;// 允许应用访问范围性的定位
    }

    public static class Key {
        public static String WX_SHARE_KEY = "";
        public static String WX_SHARE_APP_ID = "";
        public static String QQ_SHARE_APP_ID = "";
        public static String DFTT_APP_ID = "";
        public static String DFTT_KEY = "";

        public static String PAY_TYPE_COIN = "0";
        public static String PAY_TYPE_VIP = "1";

    }

    public static class Switch {
        public static boolean isShowUpdateDialoging = false;
        public static boolean isLogin = false;
    }

    public static final String UPDATE_SHAREDATA = "update_sharedata";
    public static final String UPDATEDEFILE = "update_de_file";
    public static final String REFRESH_LOGIN_STATS = "refresh_login_stats";
    public static final String SWITCH_PAGE = "switch_page";


    public static final String SCREENON = "screenon";

    public static final String h = "h";//屏幕高度
    public static final String w = "w";//屏幕宽度
    public static final String model = "model";//设备型号
    public static final String vendor = "vendor";//生产厂商
    public static final String svn = "svn";//android系统版本号
    public static final String ntt = "ntt";//网络环境，wifi，3G等
    public static final String token = "token";//用户标识，微信登录以后，会根据使用微信的用户标识
    public static final String vc = "vc";//应用version code
    public static final String vn = "vn";//应用version name
    public static final String ts = "ts";//客户端生成数据的时间戳
    public static final String ip = "ip";//客户端IP地址
    public static final String aid = "aid";//android id，用户设备唯一标识
    public static final String cash = "cash";//提现金额
    public static final String alipay_name = "alipay_name";//支付宝姓名
    public static final String alipay_account = "alipay_account";//支付宝账号
    public static final String type = "type";//用户阅读奖励，type值为2
    public static final String coins = "coins";//金币数
    public static final String pn = "pn";//页数
    public static final String ps = "ps";//页大小
    public static final String invite_code = "invite_code";//邀请码
    public static final String sign = "sign";
    public static final String md5 = "md5";
    public static final String rpid = "rpid";
    public static final String device = "device";//唯一标识
    public static final String carrier = "carrier";
    public static final String demd5 = "demd5";//唯一标识
    public static final String mac = "mac";//mac
    public static final String source = "source";//渠道
    public static final String imei = "imei";//全球唯一标识
    public static final String platform = "platform";//平台
    public static final String env = "env";
    public static final String cv = "cv";
    public static final String lat = "lat";
    public static final String lon = "lon";
    public static final String imsi = "imsi";
    public static final String locationtype = "locationtype";
    public static final String city = "city";
    public static final String ssid = "ssid";
    public static final String mitoken = "mitoken";
    public static final String pkg = "pkg";
    public static final String ua = "ua";


    public static final String UPDATE_DOWNLOAD_FILE_PROGRESS = "update_download_file_progress";


    public static class Param {
        public static final String mPacketName = "com.zhangxin.starlight";
        public static boolean isLocal = mPacketName.equals("com.zx.localnews");
        public static String APPLS = "dee4f3dbc8fcb897";
        public static String androidId = "";
        public static String carrier = "";
        public static String h = "";
        public static String w = "";
        public static String model = "";
        public static String vc;
        public static String vn = "";
        public static String device = "";
        public static String mac = "";
        public static String source = "";
        public static String imei = "";
        public static String ua = "";
        public static String ntt = "";
        public static String svn = "";
        public static String uid = "";
        public static String vendor = "";
        public static String cv = "";
        public static String token = "";
        public static String md5 = "";
        public static String env = "";
        public static String userAgent = "";

        public static String lat = "";
        public static String imsi = "";
        public static String lon = "";
        public static String city = "";

        public static String ime = "";

        public static String ssid = "";

        public static String miToken = "";

        public static String locationType = "";

        public static String weather_location = "";
    }


    public static class Device {
        public static final String h = "h";
        public static final String w = "w";
        public static final String model = "model";
        public static final String vendor = "vendor";
        public static final String svn = "svn";
        public static final String env = "env";
        public static final String cv = "cv";
        public static final String ntt = "ntt";
        public static final String vc = "vc";
        public static final String vn = "vn";
        public static final String ts = "ts";
        public static final String aid = "aid";
        public static final String device = "device";
        public static final String carrier = "carrier";
        public static final String mac = "mac";//mac
        public static final String imei = "imei";//全球唯一标识
        public static final String platform = "platform";//平台
        public static final String imsi = "imsi";
        public static final String ssid = "ssid";
        public static final String ip = "ip";
        public static final String oaid = "oaid";
        public static final String pkg = "pkg";
        public static final String uid = "uid";
        public static final String token = "token";
        public static final String source = "source";
        public static final String ua = "ua";
        public static final String lat = "lat";
        public static final String lon = "lon";
        public static final String locationtype = "locationtype";
        public static final String city = "city";

    }

}
