Information about the current build, extracted from system properties.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BOARD | The name of the underlying board, like "goldfish". | ||||||||||
BOOTLOADER | The system bootloader version number. | ||||||||||
BRAND | The brand (e.g., carrier) the software is customized for, if any. | ||||||||||
CPU_ABI | The name of the instruction set (CPU type + ABI convention) of native code. | ||||||||||
CPU_ABI2 | The name of the second instruction set (CPU type + ABI convention) of native code. | ||||||||||
DEVICE | The name of the industrial design. | ||||||||||
DISPLAY | A build ID string meant for displaying to the user | ||||||||||
FINGERPRINT | A string that uniquely identifies this build. | ||||||||||
HARDWARE | The name of the hardware (from the kernel command line or /proc). | ||||||||||
HOST | |||||||||||
ID | Either a changelist number, or a label like "M4-rc20". | ||||||||||
MANUFACTURER | The manufacturer of the product/hardware. | ||||||||||
MODEL | The end-user-visible name for the end product. | ||||||||||
PRODUCT | The name of the overall product. | ||||||||||
RADIO | The radio firmware version number. | ||||||||||
SERIAL | A hardware serial number, if available. | ||||||||||
TAGS | Comma-separated tags describing the build, like "unsigned,debug". | ||||||||||
TIME | |||||||||||
TYPE | The type of build, like "user" or "eng". | ||||||||||
USER |
StringBuffer result = new StringBuffer();
result.append("Device info:");
result.append("\n Board: ");
result.append(Build.BOARD);
result.append("\n Brand: ");
result.append(Build.BRAND);
result.append("\n Device: ");
result.append(Build.DEVICE);
result.append("\n Display: ");
result.append(Build.DISPLAY);
result.append("\n Fingerprint: ");
result.append(Build.FINGERPRINT);
result.append("\n Host: ");
result.append(Build.HOST);
result.append("\n ID: ");
result.append(Build.ID);
result.append("\n Model: ");
result.append(Build.MODEL);
result.append("\n Product: ");
result.append(Build.PRODUCT);
result.append("\n Tags: ");
result.append(Build.TAGS);
result.append("\n Type: ");
result.append(Build.TYPE);
result.append("\n User: ");
result.append(Build.USER);
result.append("\n Version Incremental: ");
result.append(Build.VERSION.INCREMENTAL);
result.append("\n Version Release: ");
result.append(Build.VERSION.RELEASE);
result.append("\n Version SDK: ");
result.append(Build.VERSION.SDK);
-Zxing sourse code....
[안드로이드] txt->CSV 파일 생성 및 sqlite로 변환하기 (0) | 2011.05.26 |
---|---|
[안드로이드] 음성 인식 사용하기. (0) | 2011.04.26 |
[안드로이드]커스텀 다이얼로그(Custom Dialog) 사용하기. (0) | 2011.04.13 |
[안드로이드]gps 사용 및 지오코더 사용 (에러 잡기 포함) (1) (2) | 2011.04.09 |
@Override 에러에 관한 이야기..=_ =; (0) | 2011.04.05 |
댓글 영역