Searched refs:locationManager (Results 1 – 2 of 2) sorted by relevance
62 static LocationManager locationManager = null; field in QtPositioning105 locationManager = (LocationManager)context.getSystemService(Context.LOCATION_SERVICE); in setContext()113 if (locationManager == null) { in providerList()117 List<String> providers = locationManager.getProviders(true); in providerList()141 gps = locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER); in lastKnownPosition()143 network = locationManager.getLastKnownLocation(LocationManager.NETWORK_PROVIDER); in lastKnownPosition()170 List<String> enabledProviders = locationManager.getProviders(true); in expectedProvidersAvailable()196 locationManager.requestSingleUpdate(provider, in addActiveListener()214 locationManager.requestLocationUpdates(provider, in addActiveListener()234 locationManager.removeUpdates(listener); in removeActiveListener()[all …]
64 - (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationS…71 - (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation …99 - (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error