首页 > 学院 > 开发设计 > 正文

手机IMEI串码获取

2019-11-09 16:03:20
字体:
来源:转载
供稿:网友

放半拉月假,放傻了,先写个超级简单的东西开个头....

        TelephonyManager teleMan = (TelephonyManager) this.getSystemService(TELEPHONY_SERVICE); 		String bindImei=teleMan.getDeviceId();		if(bindImei==null){			CommonUtil.showDialog("获取IMEI串号出错!", ctx);			return null;		}

bindImei就是手机串码了,注意,有的手机真没有手机串码,你别不相信,大千世界,无奇不有.


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表