public TimeTrackerWorkspace(IDistanceCalculator distanceCalculator) { this.distanceCalculator = distanceCalculator; // set the db location //databaseLocation = Path.Combine (NSBundle.MainBundle.BundlePath, "Library/TrackLocationDB.db3"); this.databaseLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), "LocationsDb.db3"); // instantiate the database this.database = new TimeTrackerDatabase(this.databaseLocation); }