Using Location Services

Sensors such as the GPS and accelerometer chips found in nearly every mobile phone have opened a new world of location- and environment-aware mobile computing. These technologies, in combination with trends such as the adoption of broadband mobile Internet and the exponential growth of computing power and storage, are revolutionizing the way we interact with computers and with each other.

The Android framework provides a number of APIs to integrate sensor data into our apps. These include low-level APIs to get location information from GPS, cell towers, and Wi-Fi. Interpreting all that data is not an easy task, but the Location Services API can help. Location Services provides a powerful, high-level framework that all ...

Get Hello, Android, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.