我怎样才能获得手机串号(IMEI)手机、IMEI

2023-09-04 05:10:00 作者:液呔靜訫呔凉

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

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