O'Reilly logo

Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android by Michael Eierman, Jakob Iversen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hardware and Sensors

Different devices running iOS will have different hardware sensors to provide location data. The most accurate sensor for outdoor use is the GPS, which can provide accuracy down to a few meters, but it isn’t available on iPod touch or the Wi-Fi iPad versions. The iPhone and 3G iPad can also take advantage of cell tower triangulation, and all devices can use the location of Wi-Fi access points to provide location data. Some devices also have a GPS and altimeter built in to provide data on where the device is headed and how high it is above or below sea level. Whenever a location or heading is reported, it also reports an accuracy that you can use to understand the quality of the data received.

As a developer, you don’t decide ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required