如何获得IMEI号码谷歌Nexus 7 TAB在Android的? [英] How to get IMEI number for Google Nexus 7 TAB in android?

查看:290
本文介绍了如何获得IMEI号码谷歌Nexus 7 TAB在Android的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用下面的code获得IMEI号码谷歌Nexus 7选项卡。  我也没有得到。我怎样才能获得IMEI号码谷歌Nexus 7?

  TelephonyManager telephonyManager =(TelephonyManager)上下文
                .getSystemService(Context.TELEPHONY_SERVICE);
        返回telephonyManager.getDeviceId();
 

解决方案

如果我没看错的谷歌Nexus 7没有任何的SIM卡。因此,如果没有卡你不能得到设备的IMEI号码的IMEI是网络依赖于GSM网络。因此,如果该设备是无线唯一无法通过IMEI识别设备。您可以使用,而不是MAC地址。

I used the below code to get IMEI number for Google Nexus 7 tab. I couldn't got. How can i get IMEI number for Google Nexus 7?

TelephonyManager telephonyManager = (TelephonyManager) context
                .getSystemService(Context.TELEPHONY_SERVICE);
        return telephonyManager.getDeviceId();

解决方案

If I am not wrong google nexus 7 doesn't have any sim. SO if there is no sim you cannot get the IMEI number of the device as the IMEI is the network dependant on gsm networks. So if the device is wifi only you cannot identify the device by IMEI. You can use MAC address instead.

这篇关于如何获得IMEI号码谷歌Nexus 7 TAB在Android的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆