beautypg.com

Google Android Compatibility Definition: Android 1.6 User Manual

Page 7

background image

and/or carrier who sold the device. There are no requirements on the
specific format of this field, except that it MUST NOT be null or the empty
string ("").

android.os.Build.DEVICE

A value chosen by the device implementer identifying the specific
configuration or revision of the body (sometimes called "industrial
design") of the device. There are no requirements on the specific format
of this field, except that it MUST NOT be null or the empty string ("").

android.os.Build.FINGERPRINT

A string that uniquely identifies this build. It SHOULD be reasonably
human-readable. It MUST follow this template:
$(PRODUCT_BRAND)/$(PRODUCT_NAME)/$(PRODUCT_DEVICE)/
$(TARGET_BOOTLOADER_BOARD_NAME):$(PLATFORM_VERSION)/
$(BUILD_ID)/$(BUILD_NUMBER):$(TARGET_BUILD_VARIANT)/
$(BUILD_VERSION_TAGS)
For example: acme/mydevicel/generic/generic:Donut/ERC77/
3359:userdebug/test-keys
The fingerprint MUST NOT include spaces. If other fields included in the
template above have spaces, they SHOULD be replaced with the ASCII
underscore ("_") character in the fingerprint.

android.os.Build.HOST

A string that uniquely identifies the host the build was built on, in human
readable format. There are no requirements on the specific format of this
field, except that it MUST NOT be null or the empty string ("").

android.os.Build.ID

An identifier chosen by the device implementer to refer to a specific
release, in human readable format. This field can by the same as
android.os.Build.VERSION.INCREMENTAL, but SHOULD be a value
intended to be somewhat meaningful for end users. There are no
requirements on the specific format of this field, except that it MUST NOT
be null or the empty string ("").

android.os.Build.MODEL

A value chosen by the device implementer containing the name of the
device as known to the end user. This SHOULD be the same name
under which the device is marketed and sold to end users. There are no
requirements on the specific format of this field, except that it MUST NOT
be null or the empty string ("").

android.os.Build.PRODUCT

A value chosen by the device implementer containing the development
name or code name of the device. MUST be human-readable, but is not
necessarily intended for view by end users. There are no requirements
on the specific format of this field, except that it MUST NOT be null or the
empty string ("").

android.os.Build.TAGS

A comma-separated list of tags chosen by the device implementer that
further distinguish the build. For example, "unsigned,debug". This field
MUST NOT be null or the empty string (""), but a single tag (such as
"release") is fine.

android.os.Build.TIME

A value representing the timestamp of when the build occurred.

android.os.Build.TYPE

A value chosen by the device implementer specifying the runtime
configuration of the build. This field SHOULD have one of the values
corresponding to the three typical Android runtime configurations: "user",
"userdebug", or "eng".

android.os.Build.USER

A name or user ID of the user (or automated user) that generated the
build. There are no requirements on the specific format of this field,
except that it MUST NOT be null or the empty string ("").