protected override async void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); // This MobileServiceClient has been configured to communicate with the Azure Mobile App and // Azure Gateway using the application url. You're all set to start working with your Mobile App! Microsoft.WindowsAzure.MobileServices.MobileServiceClient e_SpaClient = new Microsoft.WindowsAzure.MobileServices.MobileServiceClient( "https://e-spa.azurewebsites.net"); AppCenter.Start("721391dd-e2f0-40be-b57a-55581909179b", typeof(Analytics), typeof(Crashes)); SetContentView(Resource.Layout.activity_main); _mainToolbar = FindViewById <Toolbar>(Resource.Id.mainToolbar); _mainToolbar.Title = "e-Spa"; SetSupportActionBar(_mainToolbar); SupportActionBar.SetHomeButtonEnabled(false); SupportActionBar.SetDisplayHomeAsUpEnabled(false); var navigation = FindViewById <BottomNavigationView>(Resource.Id.mainBottomNavigationView); navigation.SetOnNavigationItemSelectedListener(this); LoadFragment(Resource.Id.navigation_home); _salons = new List <MySalon>(); _salons = await GetSalons(); }
// // This method is invoked when the application has loaded and is ready to run. In this // method you should instantiate the window, load the UI into it and then make the window // visible. // // You have 17 seconds to return from this method, or iOS will terminate your application. // public override bool FinishedLaunching(UIApplication app, NSDictionary options) { // This MobileServiceClient has been configured to communicate with the Azure Mobile App and // Azure Gateway using the application url. You're all set to start working with your Mobile App! Microsoft.WindowsAzure.MobileServices.MobileServiceClient ProjectPandaClient = new Microsoft.WindowsAzure.MobileServices.MobileServiceClient( "https://projectpanda.azurewebsites.net"); global::Xamarin.Forms.Forms.Init(); //Calenderview code XamForms.Controls.iOS.Calendar.Init(); //Inicializa o Zxing no iOS ZXing.Net.Mobile.Forms.iOS.Platform.Init(); //the lottie code for Ios #region SqLite local databse for ios string dbName = "travel_db.sqlite"; string folderPath = Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal), "..", "Library"); string fullPath = Path.Combine(folderPath, dbName); #endregion LoadApplication(new ProjectPanda.App(fullPath)); return(base.FinishedLaunching(app, options)); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { // Initialization for Azure Mobile Apps Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init(); // This MobileServiceClient has been configured to communicate with the Azure Mobile App and // Azure Gateway using the application url. You're all set to start working with your Mobile App! Microsoft.WindowsAzure.MobileServices.MobileServiceClient ntwkClient = new Microsoft.WindowsAzure.MobileServices.MobileServiceClient( ""); global::Xamarin.Forms.Forms.Init(); LoadApplication(new App()); return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Initialization for Azure Mobile Apps Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init(); // This MobileServiceClient has been configured to communicate with the Azure Mobile App and // Azure Gateway using the application url. You're all set to start working with your Mobile App! Microsoft.WindowsAzure.MobileServices.MobileServiceClient vctWallClient = new Microsoft.WindowsAzure.MobileServices.MobileServiceClient( "http://vctwall.azurewebsites.net"); // Set our view from the "main" layout resource // SetContentView (Resource.Layout.Main); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); // This MobileServiceClient has been configured to communicate with the Azure Mobile App and // Azure Gateway using the application url. You're all set to start working with your Mobile App! Microsoft.WindowsAzure.MobileServices.MobileServiceClient SoccerRestultsClient = new Microsoft.WindowsAzure.MobileServices.MobileServiceClient( "https://soccerrestults.azure-mobile.net"); global::Xamarin.Forms.Forms.Init(this, bundle); LoadApplication(new App()); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); // Initialization for Azure Mobile Apps Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init(); // This MobileServiceClient has been configured to communicate with the Azure Mobile App and // Azure Gateway using the application url. You're all set to start working with your Mobile App! Microsoft.WindowsAzure.MobileServices.MobileServiceClient Remora_azureClient = new Microsoft.WindowsAzure.MobileServices.MobileServiceClient( "http://remora-azure.azurewebsites.net"); global::Xamarin.Forms.Forms.Init(this, bundle); LoadApplication(new Remora_azure.Shared.App()); }