安卓:获取编程硬件信息硬件、信息

2023-09-12 08:04:04 作者:清风绕指柔

我有获取运行我的应用程序在Android设备上的硬件相关信息的要求。我需要以下类型的信息。

CPU制造商,型号和序列号 在SD卡制造商和序列号 相机制造商等相关规范 蓝牙相关的硬件信息 在无线网络相关的硬件信息 在RAM供应商/型号 显示供应商和型号

有关此主题的任何帮助将是非常美联社preciated。

解决方案

  Log.i(制造商:Build.MANUFACTURER);
Log.i(董事会,Build.BOARD);
Log.i(显示:Build.DISPLAY);
 

更多信息可以从http://developer.android.com/reference/android/os/Build.html

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.

CPU Manufacturer, model and serial number SD Card Manufacturer and serial number Camera Manufacturer and other related specs Bluetooth related hardware information WiFi related hardware information RAM Vendor / model Display vendor and model 如何获取硬件信息

Any help on this topic would be highly appreciated.

解决方案

Log.i("ManuFacturer :", Build.MANUFACTURER);
Log.i("Board : ", Build.BOARD);
Log.i("Display : ", Build.DISPLAY);

More info can be found at from http://developer.android.com/reference/android/os/Build.html

 
精彩推荐