page.title=Sensors @jd:body

In this document

What are Android sensors?

Android sensors give applications access to a mobile device's underlying physical sensors. They are data-providing virtual devices defined by the implementation of sensors.h, the sensor Hardware Abstraction Layer (HAL).

How the different physical sensors are connected to the system on chip (SoC) is not defined by Android.

Each Android sensor has a “type” representing how the sensor behaves and what data it provides.

Android sensors provide data as a series of sensor events.

Each event contains:

The interpretation of the reported data depends on the sensor type. See the sensor type definitions for details on what data is reported for each sensor type.

Existing documentation

Targeted at developers

Targeted at manufacturers