How to detect system information like os or device type

后端 未结 7 2126
不思量自难忘°
不思量自难忘° 2020-11-27 11:17

The most important things I want to know are the device type, the OS version, if it has a hardware keyboard and maybe the screen resolution. but if you know other useful deb

相关标签:
7条回答
  • 2020-11-27 12:11

    Update on screen resolution: getHeight() and getWidth deprecated in API level 13 - HONEYCOMB_MR2; use getSize(Point) instead. More info at: http://developer.android.com/reference/android/view/Display.html

    0 讨论(0)
提交回复
热议问题