reports an error if neither the network nor the gps provider is available . concode_field_sep boolean mIsGpsEnabled concode_elem_sep String TAG concode_elem_sep long mNativeObject concode_elem_sep boolean mIsGpsProviderAvailable concode_elem_sep boolean mIsNetworkProviderAvailable concode_elem_sep LocationManager mLocationManager concode_elem_sep boolean mIsRunning concode_field_sep void registerForLocationUpdates concode_elem_sep void unregisterFromLocationUpdates concode_elem_sep void onProviderDisabled concode_elem_sep void nativeNewLocationAvailable concode_elem_sep void stop concode_elem_sep void onProviderEnabled concode_elem_sep void nativeNewErrorAvailable concode_elem_sep boolean start concode_elem_sep void onStatusChanged concode_elem_sep void setEnableGps concode_elem_sep void onLocationChanged
void function ( String arg0 ) { if ( mIsRunning && ! mIsNetworkProviderAvailable && ! mIsGpsProviderAvailable ) { nativeNewErrorAvailable ( mNativeObject , arg0 ) ; } }