CHAPTER 21 EXERCISE SOLUTIONS

Answer to Question 1

The three types of applications are audio, location, and VOIP.

Answer to Question 2

At the time of writing, multi-tasking is supported only on iPod touch (third generation), iPhone 3GS, and iPhone 4.

Answer to Question 3

You use the startUpdatingLocation method to keep track of changes in location coordinates (using a combination of GPS, cell tower triangulation, and WiFi triangulation), while the startMonitoringSignificantLocationChanges method monitors for significant location changes (using cell tower triangulation) and notifies you only when the cell tower changes.

Answer to Question 4

Apple Push Notification service is a mobile service provided by Apple. It uses push technology to forward notification messages to the iPhone/iPod touch/iPad through a constantly connected IP connection. To use this service, an application provider must send a message to Apple's server, which in turn sends a notification to the application on the user's device.

Local notification, conversely, is a messaging service that can be used locally on the device. Applications running on an iPhone/iPod touch/iPad can schedule notifications to be fired at a scheduled time.

Get Beginning iOS 5 Application Development 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.