开发者

Android - mandatory sensors?

Is there a mandatory list for hardware on Android devices (e.g. magnetic field, distance)开发者_开发百科?

If not, which one are common?


These things are defined in the Android Compatibility Definition Document (CDD).

Here is the current one. Check out the hardware-sensors section [7.3.].
As far as I can see all sensors are optional.

Most devices are equipped with the following sensors:

  • GPS
  • Accelerometer
  • Proximity sensor
  • Magnetic field
  • Light
  • Gravity

(from an API viewpoint, some might be the same on a hardware basis)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜