获取Android设备唯一标识
1 |
import android.provider.Settings.Secure;
|
2 |
3 |
private String android_id = Secure.getString(getContext().getContentResolver(), Secure.ANDROID_ID);
|
1 |
import android.provider.Settings.Secure;
|
2 |
3 |
private String android_id = Secure.getString(getContext().getContentResolver(), Secure.ANDROID_ID);
|
相关文章: