Android: get Current Location using GPS

private void GetCurrentGPSInfo() {   LocationManager locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, new LocationListener() { public void onStatusChanged(String provider, int status, Bundle extras) { // called when the provider status changes. Possible status: OUT_OF_SERVICE, TEMPORARILY_UNAVAILABLE or AVAILABLE. } public void onProviderEnabled(String provider) { ShowMessage("GPS is enabled."); // called when the provider is enabled by […]