Android - required sensors?

Is there a mandatory list of hardware on Android devices (e.g. magnetic field, distance)?

If not, which one is common?

+3
source share
1 answer

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

Here is current. Check the hardware sensor 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
  • A magnetic field
  • Light
  • Gravity

(from an API point of view , some may be the same on a hardware basis)

+2
source

All Articles