Created
December 9, 2013 05:37
-
-
Save zoint/7867765 to your computer and use it in GitHub Desktop.
Start position tracking Windows Phone 8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void StartTracking() | |
{ | |
_geolocator.ReportInterval = (uint)TimeSpan.FromSeconds(30).TotalMilliseconds; | |
_geolocator.MovementThreshold = 100; | |
// this implicitly starts the tracking operation | |
_geolocator.PositionChanged += PositionChangedHandler; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment