Microsoft posted a how to guide for Windows 8 developers that shows you how to update your app's live tile using polling and local APIs so that you can show off what is great about your app directly on the Windows 8 Start screen.
"Your tile can put front and center the best of what's going on inside of your app. The app tile is a core part of your app, and quite possibly its most frequently seen part - take advantage of the tile to get users back into your app!," said Kevin Michael Woley, Program Manager, Windows.
There are four steps in creating the perfect live tile:
- Design for tile updates
- Choose templates to match the tile content
- Use polling notifications from the cloud to update the tile while the app is not running
- Update the tile while the app is running by using the NotificationsExtensions library , which is found in the Windows 8 SDK App tiles and badges sample.
This will create the look for the live tile. Live tiles are also designed to use less resources and consume very little battery power to provide real time notifications while being efficient. Microsoft plans on posting more about live tiles soon, especially how to update them.
Visit the source for an in-depth look at creating the perfect live tile.
Woley also notes that part 2 of the post will walk through how to add polling and local tile updates to the app. "I show you how to start polling for tile updates from your app, provide example ASP.NET and PHP that can be used to build a web service for polling, and talk about how to add a secondary tile to the app and update it using the NotificationsExtension library," adds Woley.
In other blog post, Microsoft talks Microsoft describes the significance of HTML5 and how app developers can utilize it for creating Metro styled apps.
"Since HTML5 is emerging, Microsoft has been using Internet Explorer 10 Platform Previews to test the new technology. When it comes to app and web developers interested in using HTML5, Microsoft asks two questions when it comes to the new technology."
"First, how widely implemented across all major browsers is HTML5? And how would this technology be adopted for browsers who do not support HTML5? The answers are pretty simple. Microsoft recommends Internet Explorer as the best browser to support HTML5 and on top of that, there are technologies such as Modernizer that helps app and web developers support HTML5 on older browsers. Microsoft also recommends the use of Visual Studio 2010 and Expression Web 4 for HTML5 development. Take a look at the source for a more in-depth view on adopting HTML5."
You can read the full article "Building Apps with HTML5: What You Need to Know" on MSDN.