BUILD 2011 demos

[Update 9/21] Just got back from //BUILD in Anaheim, and it was a great conference to be at. I presented “Multitasking in Windows Phone” for what seemed like the 100th time, and the slides + video are up on channel 9 but unfortunately the video did not record the slides / demos until about 25 minutes…


Background Agents – Part 3 of 3

In Part 1 we looked at a simple app to get tweets from Twitter, and in Part 2 we looked at the AsyncWorkloadHelper library. In this final part, we’ll look at a couple of the other helper libraries in the project that you might find useful. As before, the code can be found at the…


Background Agents – Part 2 of 3

In Part 1 we looked at a simple Windows Phone application that used a background agent to periodically show a toast and / or update a tile when a new tweet was found for a particular search term. The code we are discussing in this post can be found at the end of that post….


Background Agents – Part 1 of 3

This post has (errr, “These posts have”) been a long time coming. They are based off the Mix 11 and TechEd 2011 sessions I gave a loooooong time ago, but despite my best efforts I’ve not been able to post anything to my blog for some time. Partly it was due to a family vacation…


Alarms and Notifications in Mango

Here’s the first of several posts about the new multitasking features in Windows Phone Mango. Alarms and Notifications is a good place to start because it is the simplest of the new multitasking features (outside of Fast App Switching, but that’s not really an API) and it doesn’t require running code in the background; it…


I was joking about the penny, but how about some tombstoning sample code?

Thanks to everyone who posted on the previous post about tombstoning in Windows Phone 7. It was actually quite surprising to see the positive comments about tombstoning (both on the blog and privately through e-mail) where developers are saying they appreciate the feature or don’t consider it a huge burden. Of course not everyone thinks…


This is not the exit you are looking for

[Update 12/31/2012: See also this post for a new Windows Phone 8 API to terminate apps] [Update 7/27: fixed a typo and made it a bit clearer; thanks Nicole! Also added a link to code with the new Mango APIs] I have previously blogged about exiting a Windows Phone application but a further post is…


That memory thing I promised you

Today Jeff Wilcox, David Anson, and I did a Channel 9 live session with Dan Fernandez at the PDC on Microsoft campus. You can catch it almost exactly 55 minutes into the stream here (note to self: try to remember what team you work on – it’s the Application Platform team, not the Application Development…


Procrastination FTW – LazyListBox Should Improve your Scrolling Performance and Responsiveness

Introduction One of the things I’ve been working on for a while is a “smart” ListBox implementation that uses the new scrolling states and data virtualization features in Windows Phone 7 to help improve performance. Here’s a relatively common pattern we see with developers who are new to Silverlight (or just new to the phone):…


Sample code from TechEd New Zealand talks

[Update September 9: Link to the recorded sessions] [Update September 2: Updated the ZIP file to comment-out dependency on not-yet-shipped Map control :-)]   Attached to this post is a ZIP file with three projects in it: Part1Demo, which is the demo app for WPH304 (video should be available soon at Part2Demo, which is…