private void WeatherServiceStart(ServiceApi api) { var serviceType = typeof(WeatherService); if (api.ExistsAppWidget(this) && !WeatherService.IsServiceRunning) { api.StartService(this, new Intent(this, serviceType)); } }
private void GeoTrackingServiceStart(ServiceApi api) { var serviceType = typeof(GeoTrackingService); if (!GeoTrackingService.IsServiceRunning) { api.StartService(this, new Intent(this, serviceType)); } }