/// <summary> /// Download a project from the connector given the project GUID /// </summary> /// <param name="projectId"></param> public static async Task DownloadProjectData(string projectId) { await Task.Run(() => { MessagingCenter.Send <Application, string>(Application.Current, "SyncMessage", "Synchronisiert ..."); Project proj = Project.FetchProject(projectId); #if __IOS__ // iOS-specific code DataDAO.GetJsonStringForProject(projectId.ToUpper(), null); #else // Android-specific code DataDAO.GetJsonStringForProject(projectId, null); #endif }); }