protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Rather than displaying this activity, simply display a toast indicating that the geofence // service is being created. This should happen in less than a second. Toast.MakeText(this, GetString(Resource.String.start_geofence_service), ToastLength.Long).Show(); // Instantiate a new geofence storage area. mGeofenceStorage = new SimpleGeofenceStore(this); // Instntiate the current List of geofences mGeofenceList = new List <IGeofence> (); // Start with the request flag set to false mInProgress = false; CreateGeofences(); AddGeofences(); Finish(); }
protected override void OnCreate (Bundle bundle) { base.OnCreate (bundle); // Rather than displaying this activity, simply display a toast indicating that the geofence // service is being created. This should happen in less than a second. Toast.MakeText (this, GetString (Resource.String.start_geofence_service), ToastLength.Long).Show (); // Instantiate a new geofence storage area. mGeofenceStorage = new SimpleGeofenceStore (this); // Instntiate the current List of geofences mGeofenceList = new List<IGeofence> (); // Start with the request flag set to false mInProgress = false; CreateGeofences (); AddGeofences (); Finish (); }