获取 Android 设备的唯一标识码

来源:互联网 发布:怎么注册阿里云邮箱 编辑:程序博客网 时间:2024/04/29 15:24
 java代码
 import android.provider.Settings.Secure;  
private String android_id = Secure.getString(getContext().getContentResolver(), Secure.ANDROID_ID); 

原创粉丝点击