Code example for LocationListener

Methods: onProviderDisabled

0
  @Override 
  public void onProviderDisabled( final String provider ) {
    ListActivity.info("provider disabled: " + provider);
         
    if ( mapLocationListener != null ) {
      mapLocationListener.onProviderDisabled( provider );
    } 
  } 
   
  @Override 
  public void onProviderEnabled( final String provider ) {
    ListActivity.info("provider enabled: " + provider);
         
    if ( mapLocationListener != null ) {
      mapLocationListener.onProviderEnabled( provider );
    } 
  } 
   
  @Override 
  public void onStatusChanged( final String provider, final int status, final Bundle extras ) {
    ListActivity.info("provider status changed: " + provider + " status: " + status);