package com.lordcard.constant;

/**
 * 绯荤粺甯搁噺绫?
 * 
 * @author yinhb
 * 
 */
public class Constant {

	public static final String GAME = "dizhu";
	public static final String CHAR = "UTF-8";
	/**娑堟伅搴忓垪鍙? 涓€鐩撮€掑*/
	public static long seq = 1; 
	public static final String LOG_TAG = "game_log";
	public static final String SUCCESS = "success";
	public static final int DEFAULT_WIDTH = 480;
	public static final int DEFAULT_HEIGHT = 800;
	public static final String MCID = "android";
	public static final String DB_NAME = "game_card.db";
	/**骞挎挱鎾斁鏃堕棿*/
	public static final int AD_PLAY_TIME = 3000;
	/**娓告垙绛夊緟鏃堕棿  20绉?/
	public static final int WAIT_TIME = 20; 
	/** 鐗岃姳鑹?榛戞*/
	public static final String CARD_TAO = "tao"; 
	 /** 鐗岃姳鑹?绾㈡*/
	public static final String CARD_XIN = "xin";
	/** 鐗岃姳鑹?姊呰姳*/
	public static final String CARD_MEI = "mei"; 
	/** 鐗岃姳鑹?鏂瑰潡*/
	public static final String CARD_FANG = "fang"; 
	/** 姣忎釜鑺辫壊鐗屾暟鎹?/
	public static final int CART_COUNT = 13; 
	/**榛樿瀵嗙爜*/
	public static final String DEFAULT_PWD = "@@@@@@"; 
	public final static int MIN_HEAP_SIZE = 12 * 1024 * 1024;
	public final static float TARGET_HEAP_UTILIZATION = 0.75f;
	public static final int ANIM_FRAME_COUNT = 2;
	public static final String ANIM_IMAGE_START = "over000";
	public static final String BOMB_IMAGE_START = "bomb_";
	public static final String WANG_BOMB_IMAGE_START = "rocket_";
	public static final String SHUNZ_IMAGE_START = "anim_shunz_";
	public static final String FEIJI_IMAGE_START = "anim_feiji_";
	public static final String BAO_XIANG = "baoxiang_start_";
	public static final String LOT_MAIN = "lot_";
	public static final String POINT_ANIM = "point";
	public static final String IMAGE_NEW_ANIM = "new";
	public static final String IMAGE_NEWS_ANIM = "news";
	public static final String IMAGE_LING_ZHI_DOU_ANIM = "home_receive_been_button_";
	/**蹇€熷姞鍏ユ父鎴忕殑绫诲瀷*/
	public static final int FASTJOIN_TYPE = 2;
	/**閲戣眴*/
	public static final String UNIT_TYPE_BEAN = "2"; 
	public static int startCount;
	/** 娓告垙绫诲瀷: 鏂楀湴涓?*/
	public static final int GAME_TYPE_DIZHU = 1;
	/** 鎴块棿绫诲瀷锛?:VIP鍖呮埧 */
	public static int ROOM_VIP_PRIVATE = 2;
	/** 绯荤粺缃戠粶鏀瑰彉 */
	public static final String SYSTEM_NET_CHANGE_ACTION = "android.net.conn.CONNECTIVITY_CHANGE";
	/**鏇存柊绯荤粺鏃堕棿**/
	public static final String SYSTEM_TIME_CHANGE_ACTION = "android.net.conn.SYSTEM_TIME_CHANGE";
	/** 娴忚鍣?*/
	public static final String SYSTEM_ACTION_INTENT = "android.intent.action.VIEW";
	/** 鐖辨槸鍟嗗煄 鍖呭悕 */
	public static final String PACKAGE_NAME_SHOP = "til.mall.activity";
	/** 鐖辨槸鍟嗗煄 棣栭〉 */
	public static final String THREE_URI_SHOP_START = PACKAGE_NAME_SHOP + ".WelcomeActivity";
	/** 鐖辨槸鍟嗗煄鍟嗗搧璇︽儏 */
	public static final String THREE_URI_SHOP_DETAIL = PACKAGE_NAME_SHOP + ".bileMallItemDetailActivity";
	/** 鐖辨槸鍟嗗煄璧勮 */
	public static final String THREE_URI_SHOP_NEW = PACKAGE_NAME_SHOP + ".wsItemDetailActivity";
	/** 鐭俊鍙戦€佸箍鎾?*/
	public static final String ACTION_SMS_SEND = "com.lord.card.broadcast.sms.send";
	/** 鐭俊鍙戦€佸箍鎾?*/
	public static final String ACTION_SMS_ORDER = "com.game.broadcast.sms.order";
	/** 鐭俊鍙戦€佸箍鎾?绯荤粺) */
	public static final String ACTION_SMS_SEND3 = "android.intent.action.SENDTO";
	public static final String CONNECTIVITY_CHANGE_ACTION = "android.net.conn.CONNECTIVITY_CHANGE";
	/** 浠诲姟鎻愮ず */
	public static final String VIEW_ANIM_TASK_TIP = "view_anim_task_tip";
	/** 鐐稿脊 */
	public static final String VIEW_ANIM_BOMB = "view_anim_bomb";
	/** 绛夊緟瀵规柟鍑虹墝娌欐紡 */
	public static final String VIEW_ANIM_BUSY = "view_anim_busy";
	public static final String APP_ID = "appId";
	public static final String APP_SECRECT = "appSecret";
	public final static String TOKEN_ID = "tokenID";
	/** token鐢熸垚鏃堕棿*/
	public final static String TOKEN_START_TIME = "tokenStartTime"; 
	/** token鏈夋晥鏃堕棿*/
	public final static String EXPIRE_TIME = "expireTime"; 
	/** 娓告垙婵€娲诲瓨鍌ㄥ弬鏁?/
	public final static String GAME_ACTIVITE = "game_activite"; 
	/** 娓告垙鑾峰彇璇濊垂*/
	public final static String GAME_GETFEE = "game_getfee"; 
	/**鏈湴璐﹀彿鍒楄〃*/
	public static final String LOCAL_ACCOUNTS = "local_accounts";
	/**鏈湴璐﹀彿鍒楄〃鏄惁缁戝畾*/
	public static final String LOCAL_ACCOUNTS_IS_BIND = "local_accounts_is_bind";
	public static final String ROOMTIME = "room_time";
	public static final String UPDATETIME = "updatetime";
	/**娓告垙鑳屾櫙缂撳瓨Mmap鐨凨EY*/
	public static final String GAME_BACKGROUND = "gameback";
	/**璁板綍鐐瑰嚮鎸夐挳鐨勬椂闂达紝
	 * 涓嬫鍐嶇偣鍑绘寜閽殑鏃跺€?
	 * 涓庝笂娆$殑宸€?1000,
	 * 鍒欎笉搴у搷搴旓紙鐢ㄤ簬鎺у埗鐤媯鐐瑰嚮锛?*/
	public static long CLICK_TIME=0; 
	/**涓ゆ鐐瑰嚮鐨勬椂闂撮棿闅?/
	public static final long  SPACING_TIME=1000;
	/**鍗曟満鏈湴璧犻€侀噾璞嗘椂闂?/
	public static final String GET_BEAN_COUNT = "getbeancount";
	/**鍗曟満鏈湴璧犻€侀噾璞嗘椂闂?/
	public static final String GET_BEAN_CACHE = "getbeancache";
	/** 鍗曟満缂撳瓨鏈湴閲戣眴*/
	public static final String GAME_BEAN_CACHE = "gamebeancache";
	/**鍗曟満缂撳瓨鑷繁鍚嶅瓧*/
	public static final String GAME_NAME_CACHE = "gameselfname";
	/** 鍗曟満缂撳瓨缇庡コ*/
	public static final String GAME_GIRL_CACHE = "gamegirlscache";
	/** 鏇存柊妗嗗脊鍑虹紦瀛樺弬鏁?/
	public static final String UPDATECODE = "updatecode";
	/** 鎺у埗鏇存柊妗嗘槸鍚﹁嚜鍔ㄥ脊鍑?*/
	public static final String VERSIONCODE = "version";
	/**鍚庡彴涓嬭浇鍖呭搴攃ode鍙傛暟 */
	public static final String SAVECODE = "savecode";
	/**鏇存柊妗嗗脊鍑虹紦瀛樺弬鏁?*/
	public static final String SAVEAPK = "saveapk";
	public static final String APKNAME = "publicapp.apk";
	/** 0涓鸿亰澶?*/
	public final static int MESSAGE_TYPE_ZERO = 0;
	/** 1涓烘€濊€?*/
	public final static int MESSAGE_TYPE_ONE = 1;
	/** 2涓鸿〃鎯?*/
	public final static int MESSAGE_TYPE_TWO = 2;
	/** 3缇庡コ */
	public final static int MESSAGE_TYPE_THREE = 3;
	/** 1娓告垙鎸囧崡 2 鍚堟垚甯姪 */
	public final static String GUIDE_TYPE_ONE = "1";
	public final static String GUIDE_TYPE_TWO = "2";
	/** 鎵撶墝鐨勫眬鏁?*/
	public static final String QUANG_KEY = "quang";
	/**  鎵撶墝鐨勬€诲眬鏁?/
	public static final String ALL_QUAN = "allquan";
	/** 娑堟伅閫氱煡*/
	public static final String NOTIFICATION_SERVICE = "notification.intent.action.Service";

	// key
	public static final String PRIZE_GOODS = "prizeGoods";
	public static final String RANK = "rank";
	 /**缃戠粶闂撮殧鏃堕棿*/
	public static long time_space = 0L;
//	public static long lastHbTime = 0;	//socket寤虹珛杩炴帴鏃讹紝璁板綍鏈€鍚庣殑蹇冭烦鏃堕棿
	/**  娓告垙鐘舵€侊細宸插彂鐗?	*/
	public static final int STATUS_START = 4;
	/**  娓告垙鐘舵€侊細姝e湪鍙湴涓?	*/
	public static final int STATUS_GRAB = 5;
	/**  娓告垙鐘舵€侊細姝e湪娓告垙	 */
	public static final int STATUS_PLAYING = 6;
	/**  娓告垙鐘舵€侊細娓告垙缁撴潫	 */
	public static final int STATUS_END = 8;
	/**  娓告垙鐘舵€侊細姝e湪韪㈡媺 	*/
	public static final int STATUS_TL = 9;
	
	//鎵撶墝鐣岄潰锛欴oudizhuMainGameActivity or PersonnalDoudizhuActivity
	/** 鍙戦€佽亰澶╀俊鎭?鏂囧瓧 	*/
	public static final String GAME_VIEW_SEND_MESS_TEXT = "game_view_send_text";
	/** 鍙戦€佽亰澶╀俊鎭?GIF琛ㄦ儏 	*/
	public static final String GAME_VIEW_SEND_MESS_GIF = "game_view_send_mess_gif";
	/** 鍙戦€佽亰澶╀俊鎭?GIF琛ㄦ儏 	*/
	public static final String GAME_VIEW_SEND_MESS_CLICK_TYPE = "game_view_send_mess_click_type";
	
	//================================= Handler what甯搁噺=================================//
	//---鎵撶墝鐣岄潰锛欴oudizhuMainGameActivity or PersonnalDoudizhuActivity
	/** 鍙戦€佽亰澶╀俊鎭?鏂囧瓧what 	*/
	public static final int HANDLER_WHAT_GAME_VIEW_SEND_MESS_TEXT = 778;
	/** 鍙戦€佽亰澶╀俊鎭?GIF琛ㄦ儏what 	*/
	public static final int HANDLER_WHAT_GAME_VIEW_SEND_MESS_GIF = 780;
	
	
	
	
	
	
	
	
	
	/**sim缂撳瓨鐨凨EY */
	public static final String SIM_KEY = "sim_cache";
	/**绉诲姩sim鍗?/
	public static final String SIM_MOBILE = "mobile"; 
	/**鑱旈€歴im鍗?/
	public static final String SIM_UNICOM = "union"; 
	/**鐢典俊sim鍗?/
	public static final String SIM_TELE = "tele"; 
	/**鍏朵粬涓嶅彲璇嗗埆鐨剆im鍗?/
	public static final String SIM_OTHER = "nosim"; 

	//
	public static final String SMS_INITE_MSG="sms_invite_msg";
	public static final String SMS_INITE_CODE="sms_invite_code";
	public static final String SMS_INITE_INPUT="sms_invite_input";
	public static final String FILL_IN_INFO="fill_in_info";
	public static final String INVITE_FRIEND="invite_friend";
	public static final String APP_DOWNLOAD="app_download";
	public static final String FUN_NO_OPEN="fun_no_open";
	//鐢ㄦ埛娓告垙淇℃伅
	public static final String KEY_COUNT_PLAY_INNINGS="key_count_play_innings";
	public static final String KEY_COUNT_LOSE_INNINGS="key_count_lose_innings";
	public static final String KEY_COUNT_WIN_INNINGS="key_count_win_innings";
	public static final String KEY_COUNT_IQ_RISE="key_count_iq_rise";
	public static final String KEY_IQ="key_iq";
	public static final String RECEIVE_FAIL="receive_fail";
	public static final String HAS_RECEIVE="has_received";
	public static final String KEY_ACCOUNT_BIND_DIALOG_SHOW_COUNT="key_account_bind_dialog_show_count";
}