Chapter 7. Making POIApp Location Aware

One of the most interesting aspects for mobile development is interacting with device capabilities such as motion sensors, cameras, and location sensors. While these capabilities are new and fun to many developers, they can also bring a great deal of value to the users of our mobile apps. In this chapter, we will walk through adding location awareness to POIApp including the following topics:

  • Setting application permissions
  • Obtaining the current longitude and latitude
  • Obtaining the address for a longitude and latitude
  • Calculating the distance between two locations
  • Displaying a POI within the map app

Location services

While working with location services on the Android platform, you will primarily work with an instance ...

Get Xamarin Mobile Application Development for Android now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.