A Beginners excerpt to start location tracking in Windows Phone 8.1.
Windows Phone 8.1 comes with many prospects for geo location and usually the next thing after detecting your location, people tend to look for something else and that is tracking the location since it should update itself. So, if you're wondering how to instantiate a map and track your location, you really should check out my previous article.
And if you have already done that then I hope you liked it. Then you probably already understand how to do the following:
A Basic UI
Let's set up a basic UI and yes the following is kind of a rip-off from MSDN but as long as it helps people, it's cool. Our little UI has two Buttons and a number of textblocks and looks as in the following in XAML (I'm only posting the main grid).
Now all you need is a StoptrackingButton to get things to stop and all you need to do is unhook the locator_PositionChanged event handler.
Since this sample has geolocator usage, this is always better to be tested in a device but you can definitely try it on an emulator too. To test it load the app on the emulator first by invoking build.
Windows Phone 7 Hileleri