http://d.android.com/reference/android/os/Build.html
참고..
Build.VERSION.SDK
이런식으로 사용하면 되겠다.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Build.VERSION | Various version strings. | ||||||||||
| Build.VERSION_CODES | Enumeration of the currently known SDK version codes. | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | BOARD | The name of the underlying board, like "goldfish". | |||||||||
| String | BRAND | The brand (e.g., carrier) the software is customized for, if any. | |||||||||
| String | CPU_ABI | The name of the instruction set (CPU type + ABI convention) of native code. | |||||||||
| String | DEVICE | The name of the industrial design. | |||||||||
| String | DISPLAY | A build ID string meant for displaying to the user | |||||||||
| String | FINGERPRINT | A string that uniquely identifies this build. | |||||||||
| String | HOST | ||||||||||
| String | ID | Either a changelist number, or a label like "M4-rc20". | |||||||||
| String | MANUFACTURER | The manufacturer of the product/hardware. | |||||||||
| String | MODEL | The end-user-visible name for the end product. | |||||||||
| String | PRODUCT | The name of the overall product. | |||||||||
| String | TAGS | Comma-separated tags describing the build, like "unsigned,debug". | |||||||||
| long | TIME | ||||||||||
| String | TYPE | The type of build, like "user" or "eng". | |||||||||
| String | USER | ||||||||||