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

时间:2010-06-23 15:44:19

标签: 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

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

3 个答案:

答案 0 :(得分:25)

HTC Desire 2.1update1:​​
董事会:布拉沃
品牌:htc_asia_wwe
设备:布拉沃
显示:ERE27
型号:HTC Desire
产品:?

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

修改

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

答案 1 :(得分:20)

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

    String  ANDROID         =   android.os.Build.VERSION.RELEASE;       //The current development codename, or the string "REL" if this is a release build.
    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;               //The name of the instruction set (CPU type + ABI convention) of native code.
    String  CPU_ABI2        =   android.os.Build.CPU_ABI2;              //  The name of the second instruction set (CPU type + ABI convention) of native code.
    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           =   android.os.Build.RADIO;                 //The radio firmware version number.
    String  TAGS            =   android.os.Build.TAGS;                  //Comma-separated tags describing the build, like "unsigned,debug".
    String  TYPE            =   android.os.Build.TYPE;                  //The type of build, like "user" or "eng".
    String  USER            =   android.os.Build.USER;                  //

答案 2 :(得分:19)

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

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