Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

8. Progressive Enhancement > Location Awareness

Location Awareness

The iPhone gives developers several methods of detecting the physical location of a device. This is by far one of its most innovative features and has helped create many new business models and usage patterns. Developers have released location-aware applications ranging from social network clients to restaurant review tools to mapping applications to games.

The framework used for adding location awareness to an application is called Core Location, and it is a powerful and impressive toolset. It also comes with a price and some limitations. For example, finding the location of a device takes a lot of power, potentially leading to battery drainage. The more accurate the request, the more power is used. Battery life is a constant concern for developers of mobile applications, and Core Location forces developers to balance their needs with the desire to minimize power use. This is one reason that a turn-by-turn navigation system is a challenge for the iPhone.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint