我怎样才能获得手机串号(IMEI) [英] How can I get phone serial number (IMEI)

查看:185
本文介绍了我怎样才能获得手机串号(IMEI)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想获得手机序列号通过编程到我的应用程序已经安装在他们身上我的应用程序的用户和电话的数量和注册配置。

I want to get phone serial number by programming to registration configuration of my application and number of users and phones that my app has been installed on them.

我能拿到?

和我可以得到我的应用程序已经安装在他们的手机型号?

and can I get phone model that my app has been installed on them?

推荐答案

请参阅本 http://stackoverflow.com/a/1972404/951045

 TelephonyManager mngr = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); 
  mngr.getDeviceId();

添加 READ_PHONE_STATE 权限的Andr​​oidManifest.xml

这篇关于我怎样才能获得手机串号(IMEI)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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