Esempio n. 1
0
        public async void Run(IBackgroundTaskInstance taskInstance)
        {
            var deferral = taskInstance.GetDeferral();
            await PimpTiles.UpdateLiveTiles(TileUtil81.Instance);

            deferral.Complete();
        }
Esempio n. 2
0
        public static async Task Start()
        {
            await PimpTiles.EnsureCoverFolderExists();

            MessagingService.Instance.Register(new MessageHandler());
            UiService.Instance.SetUiUtils(StoreUtil.Instance);
            //var proxyFile = await StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///Assets/WindowsStoreProxy.xml", UriKind.Absolute));
            //await CurrentAppSimulator.ReloadSimulatorAsync(proxyFile);
        }