Getting my gps location while I'm offline
问题 I've doing some research about getting my gps position. I'm using google maps API v2 so in order to get my current position I used this locationManager = (LocationManager) getSystemService(LOCATION_SERVICE); List<String> providers = locationManager.getAllProviders(); Criteria criteria = new Criteria(); bestProvider = locationManager.getBestProvider(criteria, false); Location location = locationManager.getLastKnownLocation(bestProvider); so from my understanding there is a list in the