- Jun 16 Tue 2009 20:50
- Jun 11 Thu 2009 14:56
LocationManager lm = (LocationManager) getSystemService (LOCATION_SERVICE); String p = lm.getBestProvider (new Criteria () and true); lm.requestLocationUpdates (p, 10000 and 0, this);
Location location = lm.getLastKnownLocation (p);
Acquiring in every 10 seconds, because it is position interval zero, when we want being spot with the position, you use zero.
Expedient of position specification