首页 > 代码库 > android手机状态解释,比如android.os.Build.VERSION.SDK
android手机状态解释,比如android.os.Build.VERSION.SDK
//BOARD 主板 String phoneInfo = "BOARD: " + android.os.Build.BOARD; phoneInfo += ", BOOTLOADER: " + android.os.Build.BOOTLOADER; //BRAND 运营商 phoneInfo += ", BRAND: " + android.os.Build.BRAND; phoneInfo += ", CPU_ABI: " + android.os.Build.CPU_ABI; phoneInfo += ", CPU_ABI2: " + android.os.Build.CPU_ABI2; //DEVICE 驱动 phoneInfo += ", DEVICE: " + android.os.Build.DEVICE; //DISPLAY Rom的名字 例如 Flyme 1.1.2(魅族rom) JWR66V(Android nexus系列原生4.3rom) phoneInfo += ", DISPLAY: " + android.os.Build.DISPLAY; //指纹 phoneInfo += ", FINGERPRINT: " + android.os.Build.FINGERPRINT; //HARDWARE 硬件 phoneInfo += ", HARDWARE: " + android.os.Build.HARDWARE; phoneInfo += ", HOST: " + android.os.Build.HOST; phoneInfo += ", ID: " + android.os.Build.ID; //MANUFACTURER 生产厂家 phoneInfo += ", MANUFACTURER: " + android.os.Build.MANUFACTURER; //MODEL 机型 phoneInfo += ", MODEL: " + android.os.Build.MODEL; phoneInfo += ", PRODUCT: " + android.os.Build.PRODUCT; phoneInfo += ", RADIO: " + android.os.Build.RADIO; phoneInfo += ", RADITAGSO: " + android.os.Build.TAGS; phoneInfo += ", TIME: " + android.os.Build.TIME; phoneInfo += ", TYPE: " + android.os.Build.TYPE; phoneInfo += ", USER: " + android.os.Build.USER; //VERSION.RELEASE 固件版本 phoneInfo += ", VERSION.RELEASE: " + android.os.Build.VERSION.RELEASE; phoneInfo += ", VERSION.CODENAME: " + android.os.Build.VERSION.CODENAME; //VERSION.INCREMENTAL 基带版本 phoneInfo += ", VERSION.INCREMENTAL: " + android.os.Build.VERSION.INCREMENTAL; //VERSION.SDK SDK版本 phoneInfo += ", VERSION.SDK: " + android.os.Build.VERSION.SDK; phoneInfo += ", VERSION.SDK_INT: " + android.os.Build.VERSION.SDK_INT;
记得加权限
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
android手机状态解释,比如android.os.Build.VERSION.SDK
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。