使用IMEI,IMSI ...时会出现几个问题,如下所述:
http://android-developers.blogspot.pt/2011/03/identifying-app-installations.html
该建议的方法是使用:
http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID
String unique_id = android.provider.Settings.Secure.getString(getContentResolver(), android.provider.Settings.Secure.ANDROID_ID);
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3708 次 |
| 最近记录: |