I have a requirement for obtaining the hardware related information on an Android device that runs my application. I need information of the following sort.
You can also get real-time hardware info. Build.* parameters are set during compilation of Android before even deploying it on hardware itself.
You can access Linux real-time hardware info by reading /proc/* "files".
You can do that with https://stackoverflow.com/a/3528239/997381
Simply as command put cat /proc/cpuinfo
.
You can test this with adb shell
, and you don't need root permissions.