private void InitializeLocationEngine() { locationEngine = LocationEngineProvider.GetBestLocationEngine(ApplicationContext); LocationEngineRequest request = BuildEngineRequest(); locationEngine.RequestLocationUpdates(request, callback, null); ShowSnackbar(SEARCHING_FOR_GPS_MESSAGE, BaseTransientBottomBar.LengthShort); }
//private void ShowSettings() //{ // StartActivityForResult(new Intent(this, typeof(NavigationSettingsActivity)), CHANGE_SETTING_REQUEST_CODE); //} private void InitializeLocationEngine() { locationEngine = LocationEngineProvider.GetBestLocationEngine(ApplicationContext); LocationEngineRequest request = BuildEngineRequest(); locationEngine.RequestLocationUpdates(request, callback, null); locationEngine.GetLastLocation(callback); }