How to request device information for an Android device

How can I get information about the hardware of an Android device, such as processor architecture, speed, neon, GPU, name, manufacturer, RAM size. I hope there is a way to do this initially using ndk, but if it is possible only by java code, than for this.

+1
source share
2 answers

For your requirement you will need a Build class. The Build class will provide you with information such as Android Version, Display, Manufacture, etc.

Build.BOARD
Build.BRAND
Build.CPU_ABI
Build.DEVICE
Build.DISPLAY
Build.HOST
Build.ID
Build.MANUFACTURER
Build.MODEL
Build.PRODUCT
Build.TAGS
Build.TYPE
Build.USER

Also visit this example .

+3
source

android android.os.Build , . , build.prop. ndk /system/build.prop.

, .

: http://developer.android.com/reference/android/os/Build.html

edit: ...

+2

All Articles