随笔分类 -  StudyInWork

摘要:主要类 TelephonyManager: telephonyManager.getCellLocation();//获得服务区 telephonyManager.getCellId();//获得服务小区ID /*获取Sim卡运营商*/ IMSI=telephonyManager.getSubscriberId(); //IMSI号前面3位460是国家,紧接着后面2位0002是中国移动,01是中国联通,03是中国电信。 阅读全文
posted @ 2013-08-08 11:41 邪天殇 阅读(354) 评论(0) 推荐(0)
摘要:private final void updateDataNetType(int slotId) { int tempDataNetType; NetworkType tempDataNetType3G = NetworkType.Type_G; if (slotId == Phone.GEMINI_SIM_1) { tempDataNetType = mDataNetType; } else { tempDataNetType = mDataNetTypeGemini; } ... 阅读全文
posted @ 2013-08-08 10:19 邪天殇 阅读(2153) 评论(0) 推荐(0)