请提供Android.os.Build数据示例

Sev*_*yev 22 android

Android设备的某些所有者可以出面并发布他们的手机提供的数据:

  • os.android.Build.BOARD
  • os.android.Build.BRAND
  • os.android.Build.DEVICE
  • os.android.Build.DISPLAY
  • os.android.Build.MODEL
  • os.android.Build.PRODUCT

我想知道什么是最好的识别组合,寻找统计数据.提前致谢.

Mat*_*adt 28

HTC Desire 2.1update1:
Board:bravo
品牌:htc_asia_wwe
设备:bravo
显示:ERE27
型号:HTC Desire
产品:?

Nexus One,2.2
主板:mahimahi
品牌:谷歌
设备:激情
显示:FRF50(这不是N1股票版本,但更新我加载到它上)
型号:Nexus One
产品:?

编辑:

三星Galaxy S,2.1update1
板:GT-I9000
品牌:三星
设备:GT-I9000
显示器:ECLAIR
型号:GT-I9000
产品:?


Mar*_*lac 20

如果要在模拟器或Real手机中进行测试,请尝试使用以下代码:

    String  ANDROID         =   android.os.Build.VERSION.RELEASE;       //The current development codename, or the string "REL" if this is a release build.
    int     SDK             =   android.os.Build.VERSION.SDK_INT;       //The SDK version of the software currently running on this hardware device.

    String  BOARD           =   android.os.Build.BOARD;                 //The name of the underlying board, like "goldfish".
    String  BOOTLOADER      =   android.os.Build.BOOTLOADER;            //  The system bootloader version number.
    String  BRAND           =   android.os.Build.BRAND;                 //The brand (e.g., carrier) the software is customized for, if any.
    String  CPU_ABI         =   android.os.Build.CPU_ABI;               // [API >= 4] The name of the instruction set (CPU type + ABI convention) of native code.
    String  CPU_ABI2        =   android.os.Build.CPU_ABI2;              // [API >= 8] The name of the second instruction set (CPU type + ABI convention) of native code.
    String[]CPU_ABIS        =   android.os.Build.SUPPORTED_ABIS;        // [API >= 21] An ordered list of ABIs supported by this device.
    String  DEVICE          =   android.os.Build.DEVICE;                //The name of the industrial design.
    String  DISPLAY         =   android.os.Build.DISPLAY;               //A build ID string meant for displaying to the user
    String  FINGERPRINT     =   android.os.Build.FINGERPRINT;           //A string that uniquely identifies this build.
    String  HARDWARE        =   android.os.Build.HARDWARE;              //The name of the hardware (from the kernel command line or /proc).
    String  HOST            =   android.os.Build.HOST;
    String  ID              =   android.os.Build.ID;                    //Either a changelist number, or a label like "M4-rc20".
    String  MANUFACTURER    =   android.os.Build.MANUFACTURER;          //The manufacturer of the product/hardware.
    String  MODEL           =   android.os.Build.MODEL;                 //The end-user-visible name for the end product.
    String  PRODUCT         =   android.os.Build.PRODUCT;               //The name of the overall product.
    String  RADIO_VERSION   =   android.os.Build.getRadioVersion();     //The radio firmware version number.
    String  SERIAL_NEW      =   android.os.Build.getSerial();           // [API >= 26] Gets the hardware serial number, if available.
    String  SERIAL_OLD      =   android.os.Build.SERIAL;                /* [API >= 9] A hardware serial number, if available. Alphanumeric only, case-insensitive.
                                                                        This field is always set to Build#UNKNOWN. */
    String  TAGS            =   android.os.Build.TAGS;                  //Comma-separated tags describing the build, like "unsigned,debug".
    long    TIME            =   android.os.Build.TIME;                  //The time at which the build was produced, given in milliseconds since the UNIX epoch.
    String  TYPE            =   android.os.Build.TYPE;                  //The type of build, like "user" or "eng".
    String  USER            =   android.os.Build.USER;
Run Code Online (Sandbox Code Playgroud)


Ped*_*nho 19

我最近发现了这个:http : //www.glbenchmark.com/phonedetails.jsp? benchmark=glpro11&D= Samsung+ SGH-I997+Infuse+4G& testgroup=system

只需在下拉列表中选择您的设备,然后选择标签系统即可查看电话信息

  • 看起来该网站已重新设计,他们不再显示构建字段.很伤心. (8认同)
  • 死链接(链接现在重定向到与问题无关的其他网站) (3认同)