Code example for TelephonyManager

Methods: getSubscriberId

0
		return operator;
	} 
	public static String getIMSI(Context context) {
		TelephonyManager telManager = (TelephonyManager)context.getSystemService(
			Context.TELEPHONY_SERVICE);
		String imsi = telManager.getSubscriberId();
 
	    return imsi;
	} 
 
	public static boolean isNETWAP() { 
		return isNETWAP;
	} 
	 
	/* 
	 * 判断设置策略是否是肯定的 
	 */ 
	public static boolean isPolicyPositive(int policy) {
		boolean isShow = false;
		if (policy == Constants.SETTING_POLICY_NO) {
			isShow = false;