获得安卓手机的相关信息

Posted 可乐淘

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了获得安卓手机的相关信息相关的知识,希望对你有一定的参考价值。

Log.e(TAG, "MODEL: " + Build.MODEL
                    + "——>BOARD:" + Build.BOARD
                    + "——>BOOTLOADER:" + Build.BOOTLOADER
                    + "——>BRAND:" + Build.BRAND
                    + "——>DEVICE:" + Build.DEVICE
                    + "——>DISPLAY:" + Build.DISPLAY
                    + "——>FINGERPRINT:" + Build.FINGERPRINT
                    + "——>getRadioVersion():" + Build.getRadioVersion()
                    + "——>HARDWARE:" + Build.HARDWARE
                    + "——>HOST:" + Build.HOST
                    + "——>ID:" + Build.ID
                    + "——>MANUFACTURER:" + Build.MANUFACTURER
                    + "——>PRODUCT:" + Build.PRODUCT
                    + "——>SERIAL:" + Build.SERIAL
                    + "——>TAGS:" + Build.TAGS
                    + "——>TYPE:" + Build.TYPE
                    + "——>UNKNOWN:" + Build.UNKNOWN
                    + "——>USER:" + Build.USER
                    + "——>TIME:" + Build.TIME
                    + "——>VERSION.SDK_INT:" + Build.VERSION.SDK_INT
                    + "——>VERSION.RELEASE:" + Build.VERSION.RELEASE
                    + "——>VERSION.BASE_OS:" + Build.VERSION.BASE_OS
                    + "——>VERSION.CODENAME:" + Build.VERSION.CODENAME
                    + "——>VERSION.INCREMENTAL:" + Build.VERSION.INCREMENTAL
                    + "——>VERSION.SECURITY_PATCH:" + Build.VERSION.SECURITY_PATCH
                    + "——>VERSION.PREVIEW_SDK_INT:" + Build.VERSION.PREVIEW_SDK_INT
                    + "——>VERSION.SDK:" + Build.VERSION.SDK
            );


以某款魅族手机为例,输出结果为:

MODEL: M5 Note
——>BOARD:M5 Note
——>BOOTLOADER:unknown
——>BRAND:Meizu
——>DEVICE:M5Note
——>DISPLAY:Flyme 5.2.11.3A
——>FINGERPRINT:Meizu/M1621/M1621:6.0/MRA58K/1483593632:user/release-keys
——>getRadioVersion():MOLY.LR11.W1603.MD.MP.V15.2.P60, 2017/01/04 20:33
——>HARDWARE:mt6755
——>HOST:Mz-Builder-l7
——>ID:MRA58K
——>MANUFACTURER:Meizu
——>PRODUCT:meizu_M5 Note
——>SERIAL:621QECPR2LF9T
——>TAGS:release-keys
——>TYPE:user
——>UNKNOWN:unknown
——>USER:flyme
——>TIME:1483594055000
——>VERSION.SDK_INT:23
——>VERSION.RELEASE:6.0
——>VERSION.BASE_OS:
——>VERSION.CODENAME:REL
——>VERSION.INCREMENTAL:1483593632
——>VERSION.SECURITY_PATCH:2017-01-05
——>VERSION.PREVIEW_SDK_INT:0
——>VERSION.SDK:23

以上是关于获得安卓手机的相关信息的主要内容,如果未能解决你的问题,请参考以下文章

如何获得android中cpu的信息

Python读取安卓手机GPS信息

手机怎么查看安卓系统是哪个版本?

识别浏览器信息,判断是否安卓或者苹果手机

如何获得小米手机4c的Root超级权限

怎么用adb获得安卓手机root