Analysis of IMEI numbers IMEI 检查工具 LAC和CID 定位

查询IMEI 是否合法方法:手机拨号盘输入 *#06#

打开下面网址:https://www.numberingplans.com/?page=analysis&sub=imeinr


基站定位查询(测试)

通过手机的LAC和CID 定位到所在基站位置

安卓获取LAC和CID 方法

TelephonyManager tm = (TelephonyManager)TelephonyManager.from(this);
		sim_network = tm.getSimOperator(getSubIdBySlotId(simId));
		Log.e(TAG, "TelephonyManagerEx is getNetworkOperator sim_network="+sim_network);
		GsmCellLocation loc = (GsmCellLocation)tm.getCellLocation();
		if (loc == null) {
			Log.e(TAG, "GsmCellLocation is null");
			return "";
		}
		int cellId= loc.getCid();
		int lacId = loc.getLac();
		
		if ("FFFFFFFF".equalsIgnoreCase(Integer.toHexString(cellId))
				|| "FFFFFFFF".equalsIgnoreCase(Integer.toHexString(lacId))) {
			Log.e(TAG, "GsmCellLocation cellId ="+Integer.toHexString(cellId)+",lac="+Integer.toHexString(lacId));
			return "";
		}
		
		CELL_ID.append(Integer.toHexString(cellId).toUpperCase());
		LAC_ID.append(Integer.toHexString(lacId).toUpperCase());
通过 这个值可以到下面网站去定位大概位置;

http://www.cellid.cn/ 

你可能感兴趣的:(Analysis of IMEI numbers IMEI 检查工具 LAC和CID 定位)