GPS is used by many applications in order to localize the phone and propose recommendations or orientation depending on where the user is. In this recipe, we'll see how to retrieve the longitude and the latitude and then compute a street address.
To follow this recipe, create a new project called
Gps, and you'll need to deploy your application on a physical phone as the emulator doesn't support GPS.
How to do it...
Here are the steps required to complete this recipe:
- Add four
TextViewelements to your
Main.axmlfile, so it looks like the following:
using System.Text ...