FileDocCategorySizeDatePackage
Build.javaAPI DocAndroid 1.5 API3559Wed May 06 22:41:56 BST 2009android.os

Build

public class Build extends Object
Information about the current build, extracted from system properties.

Fields Summary
private static final String
UNKNOWN
Value used for when a build property is unknown.
public static final String
ID
Either a changelist number, or a label like "M4-rc20".
public static final String
DISPLAY
A build ID string meant for displaying to the user
public static final String
PRODUCT
The name of the overall product.
public static final String
DEVICE
The name of the industrial design.
public static final String
BOARD
The name of the underlying board, like "goldfish".
public static final String
BRAND
The brand (e.g., carrier) the software is customized for, if any.
public static final String
MODEL
The end-user-visible name for the end product.
public static final String
TYPE
The type of build, like "user" or "eng".
public static final String
TAGS
Comma-separated tags describing the build, like "unsigned,debug".
public static final String
FINGERPRINT
A string that uniquely identifies this build. Do not attempt to parse this value.
public static final long
TIME
public static final String
USER
public static final String
HOST
Constructors Summary
Methods Summary
private static longgetLong(java.lang.String property)

        try {
            return Long.parseLong(SystemProperties.get(property));
        } catch (NumberFormatException e) {
            return -1;
        }
    
private static java.lang.StringgetString(java.lang.String property)


         
        return SystemProperties.get(property, UNKNOWN);