80,471
社区成员




/**
* 获取设备信息
*/
private void getDeVInfo() {
TelephonyManager mTelephonyManager = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
// 中国移动和中国联通获取LAC、CID的方式
GsmCellLocation location = (GsmCellLocation) mTelephonyManager
.getCellLocation();
int lac = location.getLac();
int cellId = location.getCid();
Log.d("设备信息", " LAC = " + lac + "\t CID = " + cellId);
}