Example #1
0
 @Override
 public void onStatusChanged(String provider, int status, Bundle extras) {
   switch (status) {
     case LocationProvider.AVAILABLE:
       //                    binder.startRecord();
       Helper.Logger.i("Location provider is available.");
       break;
     case LocationProvider.OUT_OF_SERVICE:
       Helper.Logger.w("Location provider is out of service.");
       // binder.stopRecord();
       break;
     case LocationProvider.TEMPORARILY_UNAVAILABLE:
       Helper.Logger.w("Location provider is temporarily unavailable.");
       // binder.stopRecord();
       break;
   }
 }
Example #2
0
 @Override
 public void onProviderDisabled(String s) {
   Helper.Logger.w("Location provider is disabled.");
 }