Android-powered devices have sensors that let you provide users with contextual information about their surroundings, including location awareness, motion, position, and qualities of the physical environment.
To provide a much richer, more more context-specific experience for users, use Android APIs that take advantage of the following types of sensors:
Use GPS to add location awareness to your app with automated location tracking, wrong-side-of-the-street detection, geofencing, activity recognition, and more.
Use motion sensors to measure acceleration forces and rotational forces along three axes. This category includes accelerometers, gravity sensors, gyroscopes, and rotational vector sensors.
Use position sensors to measure the physical position of a device. This category includes orientation sensors and magnetometers.
Use environmental sensors to measure various environmental parameters, such as ambient air temperature and pressure, illumination, and humidity. This category includes barometers, photometers, and thermometers.
Videos
Google I/O'17: Channel 2
Updated May 19, 2017
Android sensors & location: What's new & best practices (Google I/O '17)
Updated May 19, 2017
Google I/O'17: Channel 2
Updated May 19, 2017
Google I/O'17: Channel 2
Updated May 18, 2017
Making Android sensors and location work for you - Google I/O 2016
Updated May 19, 2016
Introducing Nearby: Physical proximity within and without apps - Google I/O 2016
Updated May 17, 2016
Google Location Services on Android
Updated February 5, 2016
Add Google Maps to your Android app
Updated February 5, 2016
Location & Battery Drain (Android Performance Patterns Season 3 ep7)
Updated September 22, 2015
Android 4.4 KitKat: Step Sensors (Portuguese)
Updated June 11, 2014
Android 4.4 KitKat: Step Sensors
Updated April 8, 2014
DevBytes: Maps v2 & Fused Location (Japanese)
Updated December 27, 2013