void function ( String arg0 ) { if ( LocationManager . NETWORK_PROVIDER . equals ( arg0 ) ) { mIsNetworkProviderAvailable = true ; } else if ( LocationManager . GPS_PROVIDER . equals ( arg0 ) ) { mIsGpsProviderAvailable = true ; } }
locationlistener implementation . called when the provider is enabled . 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 maybeReportError 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