live-tile

Update live tile at fixed interval without having the app running

╄→尐↘猪︶ㄣ 提交于 2019-12-02 09:29:57
问题 How can I update my app's live tile at a fixed interval, for example half a day, using JavaScript? Moreover, it has to be able to update even though the app itself is not running (like the weather app for example) EDIT: I want to update it locally without having to connect to the internet. And please give some example in JavaScript, not C# please! To be more specific, for example, how can I set the tile to update once per day, showing the current date? 回答1: You can use a background task on a

How do I remove the App name from my flipping live tile on Windows Phone?

一笑奈何 提交于 2019-12-02 05:38:35
I'm using this template TileWide310x150PeekImage03 from the documentation here . On the example image, the name of the App is not displayed on the image, but on my App the name of the app remains. This ruins the UI of my tile because the App name is displayed within the image of my flipping live tile. How do I remove it? Add branding="none" to the binding element in the template XML. http://msdn.microsoft.com/en-us/library/windows/apps/br212854.aspx 来源: https://stackoverflow.com/questions/24078543/how-do-i-remove-the-app-name-from-my-flipping-live-tile-on-windows-phone

Update live tile at fixed interval without having the app running

一笑奈何 提交于 2019-12-02 02:49:13
How can I update my app's live tile at a fixed interval, for example half a day, using JavaScript? Moreover, it has to be able to update even though the app itself is not running (like the weather app for example) EDIT: I want to update it locally without having to connect to the internet. And please give some example in JavaScript, not C# please! To be more specific, for example, how can I set the tile to update once per day, showing the current date? You can use a background task on a schedule for an interval for anything greater than 15 mins. The tasks are designed to be run by the OS

How to programatically create a tile in Windows Phone 8.1?

痴心易碎 提交于 2019-12-01 23:09:52
In Windows Phone 8 I was able to create a Shell Tile with the following: StandardTileData newTileData = new StandardTileData { BackgroundImage = new Uri("/Images/my_tile_medium.png", UriKind.Relative), Title = "My Tile Title", BackTitle = "My Tile Back", BackBackgroundImage = new Uri("/Images/my_tile_medium_back.png", UriKind.Relative), }; ShellTile.Create(MyAppPages.MainPage("Name=MyAppTile"), newTileData); This no longer works in Windows Phone 8.1. How can I programatically create a tile with Windows Phone 8.1 In WP8.1 Runtime you can use SecondaryTile , for example: SecondaryTile tileData =

Dynamic LiveTile - adding background image?

∥☆過路亽.° 提交于 2019-12-01 11:22:46
Working wth live tiles in my Windows Phone 7 app and it's working quite okay. I'm now trying to create a dynamic live tile and I can't get the background image to show up. When using the code below I only get a black tile. The text I add is shown but not the background image. Image "Build action" is set to "Content". Any ideas? StackPanel sp = new StackPanel(); sp.Height = 173; sp.Width = 173; string fileName = "tile.jpg"; BitmapImage image = new BitmapImage(new Uri(fileName, UriKind.Relative)); ImageBrush brush = new ImageBrush(); brush.ImageSource = image; sp.Background = brush; sp.Measure

Dynamic LiveTile - adding background image?

左心房为你撑大大i 提交于 2019-12-01 08:16:10
问题 Working wth live tiles in my Windows Phone 7 app and it's working quite okay. I'm now trying to create a dynamic live tile and I can't get the background image to show up. When using the code below I only get a black tile. The text I add is shown but not the background image. Image "Build action" is set to "Content". Any ideas? StackPanel sp = new StackPanel(); sp.Height = 173; sp.Width = 173; string fileName = "tile.jpg"; BitmapImage image = new BitmapImage(new Uri(fileName, UriKind.Relative

How are live tiles made in Windows 8?

淺唱寂寞╮ 提交于 2019-11-29 19:36:22
I've searched the samples, the developer site, the getting started and the enhancing bla bla bla pages. Even using some search queries on Google, I can't seem any information on live tiles in Windows 8. How do I create a live tile in Windows 8? What languages can be used for that? C#? XAML? surfasb http://msdn.microsoft.com/en-us/library/windows/apps/br211386 You can use either C# or VB + XAML or HTML/JS or C++. That was the big announcement at the BUILD conference and the whole point of WinRT (God I hope they actually are serious about pushing WinRT for more than a year). Otherwise it would

Adding UWP Background task causes AppManifest errors

我的未来我决定 提交于 2019-11-27 06:18:06
问题 I've been trying to add an out of process background task to my project to update my App's live tile. The task needs to make a database call to get some data, then process that data to send out a few tile notifications. I've managed to get it to work in one project that I created specifically for prototyping the background task functionality. However, when I tried to add a background task to my main project it gives me the following error: Validation error. error 80080204: App manifest