Пример #1
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate (bundle);

            global::Xamarin.Forms.Forms.Init (this, bundle);

            var adapter = new Motion.Mobile.Core.BLE.Adapter ();

            Motion.Core.SyncHandler.SyncHandler.GetInstance().setAdapter(adapter);

            App app = new App();
            app.SetSyncHandler(Motion.Core.SyncHandler.SyncHandler.GetInstance());
            //App.SetAdapter (a);

            LoadApplication (new App ());
        }