O'Reilly logo

Xamarin Mobile Application Development for Android - Second Edition by Nilanchala Panigrahy

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

Adding map integration

Maps are another truly cool part of mobile computing. They provide a means of navigation, finding points of interest in an area, as well as supporting many other useful scenarios.

There are two basic approaches to interfacing with maps from an app as follows:

  • Navigate to the existing Android map app installed on the device to display a point of interest. Most recent Android devices are preinstalled with the Google Map application. However, it is not guaranteed.
  • Integrate with the Google Maps API. This approach integrates the map view directly to your application using Google Play services. You must create an application in the Google Developer Console and obtain a copy of the API key for your app.

The first option is much easier ...

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