Map Screen

The map screen (see Figure 2.9) is used to display the recorded location of a single contact or all your contacts on a map with a pin. The screen also demonstrates how to display the device’s present location on the map and how to switch between different map views. The usefulness and importance of maps on mobile devices needs no further explanation. Through the development of this screen you learn how to integrate mapping into your apps. Additionally, the screen will be used to demonstrate another approach to accessing sensor information.

Image

Figure 2.9 The Map screen.

Get Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android 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.