private void start() { if (!consent) { stop(); return; } if (App.Geolocator == null) { App.Geolocator = new Geolocator(); App.Geolocator.DesiredAccuracy = PositionAccuracy.High; App.Geolocator.MovementThreshold = 100; // The units are meters. App.Geolocator.ReportInterval = interval; App.Geolocator.PositionChanged += positionChanged; App.Geolocator.StatusChanged += statusChanged; } habitat = new Apex.Habitat("http://habitat.habhub.org/", "habitat", callsign + "_chase"); isRunning = true; }