Friday, April 20, 2012

How to fetch Hardware Information in Android?


Sometime we required to identify the device information (Hardware Information).
Android SDK provide following class to get Hardware Information like Manufacturer, CPU, Memory ....
http://developer.android.com/reference/android/os/Build.html
Example
Log.i(TAG, Build.MANUFACTURER);
Log.i(TAG, Build.BOARD);
Log.i(TAG, Build.DISPLAY);

No comments:

Post a Comment