Google News
logo
Android - Interview Questions
Explain Sensors in Android
Android-based devices have an assortment of built-in-sensors in them, which measure certain parameters such as motion, orientation and more. These sensors help in the monitor of positioning and movement of the device through their high accuracy. The sensors can be both software and hardware-based on nature. The three prominent categories of sensors in Android devices are :
 
Position Sensor : It is used to measure the physical position of the Android device. This includes orientation sensors and magnetometers.

Motion Sensors : These sensors include gravity, rotational activity and acceleration sensors which measure the rotation of the device or the acceleration and much more.

Environmental Sensor : It includes sensors that measure temperature, pressure, humidity, and other environmental factors.
Advertisement