public void HandleProviderDisabled(object sender, ProviderDisabledEventArgs e) { App.Current.LocationService.OnDestroy(); // Instantiate the builder and set notification elements: Notification.Builder builder = new Notification.Builder (this) .SetContentTitle ("VOW Notification") .SetContentText ("Monitoring has been disabled because your location cannot be determined") .SetSmallIcon (Resource.Drawable.Icon); // Build the notification: Notification notification = builder.Build (); // Get the notification manager: NotificationManager notificationManager = (NotificationManager)GetSystemService (NotificationService); // Publish the notification: const int notificationId = 0; notificationManager.Notify (notificationId, notification); }
public void HandleProviderDisabled(object sender, ProviderDisabledEventArgs e) { Log.Debug (logTag, "Location provider disabled event raised"); }
public void HandleProviderDisabled(object sender, ProviderDisabledEventArgs e) { Log.Debug(logTag, "Location provider disabled event raised"); }
public void HandleProviderDisabled(object sender, ProviderDisabledEventArgs e) { System.Diagnostics.Debug.WriteLine("Hdisa"); //Log.Debug(logTag, "Location provider disabled event raised"); }
public void handleProviderDisabled(object sender, ProviderDisabledEventArgs e) { //.. }
private void HandleProviderDisabled(object sender, ProviderDisabledEventArgs e) { System.Diagnostics.Debug.WriteLine("Disabled"); }