Esempio n. 1
0
        //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);
        }
Esempio n. 2
0
        private void InitializeLocationEngine()
        {
            locationEngine = LocationEngineProvider.GetBestLocationEngine(ApplicationContext);
            LocationEngineRequest request = BuildEngineRequest();

            locationEngine.RequestLocationUpdates(request, callback, null);
            ShowSnackbar(SEARCHING_FOR_GPS_MESSAGE, BaseTransientBottomBar.LengthShort);
        }
 private void InitializeLocationEngine()
 {
     locationEngine = LocationEngineProvider.GetBestLocationEngine(ApplicationContext);
     locationEngine.GetLastLocation(callback);
 }