我使用以下代码获取Google Nexus 7标签的IMEI号码.我无法得到.如何获取Google Nexus 7的IMEI号码?
TelephonyManager telephonyManager = (TelephonyManager) context
.getSystemService(Context.TELEPHONY_SERVICE);
return telephonyManager.getDeviceId();
Run Code Online (Sandbox Code Playgroud)
如果我没有错,谷歌nexus 7没有任何SIM卡.因此,如果没有SIM卡,则无法获取设备的IMEI号码,因为IMEI是依赖于gsm网络的网络.因此,如果设备只是wifi,则无法通过IMEI识别设备.您可以改用MAC地址.
| 归档时间: |
|
| 查看次数: |
11129 次 |
| 最近记录: |