I am working on windows phone app. public void watcher_PositionChanged(object sender, GeoPositionChangedEventArgs e) {}
Does this event work on every position change when application run in background not in foreground? I want to calculate traveled distance at every 10 seconds while app run in background.How can i do it?
You can't. Microsoft is very specific on what is allowed to run in the background.
See this article for more info.