Location location=manager.getLastKnownLocation(LocationManager.GPS_PROVIDER);// location.getLatitude(); location.getLongitude();