function to get latitude concode_field_sep boolean isNetworkEnabled concode_elem_sep boolean isGPSEnabled concode_elem_sep MyLocationListener locationListener concode_elem_sep boolean canGetLocation concode_elem_sep double latitude concode_elem_sep long MIN_DISTANCE_CHANGE_FOR_UPDATES concode_elem_sep Location location concode_elem_sep Context mContext concode_elem_sep long MIN_TIME_BW_UPDATES concode_elem_sep LocationManager locationManager concode_elem_sep SharedPreferences userPrefs concode_elem_sep double longitude concode_field_sep Location getLocation concode_elem_sep void onProviderDisabled concode_elem_sep double getLongitude concode_elem_sep void onProviderEnabled concode_elem_sep boolean canGetLocation concode_elem_sep void toggleLocationService concode_elem_sep void onStatusChanged concode_elem_sep void stopUsingGPS concode_elem_sep MyLocationListener getInstance concode_elem_sep boolean checkNetworkConnectivity concode_elem_sep void onLocationChanged
double function ( ) { if ( location != null ) { latitude = location . getLatitude ( ) ; } return latitude ; }