Code example for LocationListener

Methods: onProviderDisabled

0
		} 
	} 
 
	public void onProviderDisabled(String provider) {
		if (mLocationListener != null) {
			mLocationListener.onProviderDisabled(provider);
		} 
	} 
 
	public void onProviderEnabled(String provider) {
		if (mLocationListener != null) {
			mLocationListener.onProviderEnabled(provider);
		} 
	} 
 
	public Location getLastKnownLocation() {
		if (currentProvider == null){
			return null; 
		} 
		return lm.getLastKnownLocation(currentProvider);
Contextual code suggestions in your IDE  Get Codota for Java