package com.edufound.reader.util; import android.app.Application; import com.edufound.reader.bean.UserBean; public class Consts { private static Application mApplicAtion; private static int[] screenSize; private static UserBean mConstsUserBean; private static boolean isDebug = false; private static String privService = "http://m-xyyf-web.ai160.com/res/protocol/private.htm"; private static String agreementServices = "http://m-xyyf-web.ai160.com/res/protocol/service.htm"; private static final String FinalApiUrl = "http://reader-api.efunbox.cn"; private static String UMENG_CHANNEL = null; private static String UID = ""; public static String getUID() { return UID; } public static void setUID(String UID) { Consts.UID = UID; } public static Application getmApplicAtion() { return mApplicAtion; } public static void setmApplicAtion(Application mApplicAtion) { Consts.mApplicAtion = mApplicAtion; } public static int[] getScreenSize() { return screenSize; } public static void setScreenSize(int[] screenSize) { Consts.screenSize = screenSize; } public static UserBean getmConstsUserBean() { return mConstsUserBean; } public static void setmConstsUserBean(UserBean mConstsUserBean) { Consts.mConstsUserBean = mConstsUserBean; } public static String getPrivServiceUrl() { return privService; } public static String getAgreementServicesUrl() { return agreementServices; } public static boolean isIsDebug() { return isDebug; } public static void setIsDebug(boolean isDebug) { Consts.isDebug = isDebug; } public static String getFinalApi() { return FinalApiUrl; } public static String getUmengChannel() { return UMENG_CHANNEL; } public static void setUmengChannel(String umengChannel) { UMENG_CHANNEL = umengChannel; } }