:: archives

Windows Phone Development

This category contains 9 posts

WP7 Background Loading with Caliburn and Coroutines

Here’s a recipe that brings together Windows Phone 7, asynchronous web calls, Caliburn Micro, and some other magical fairy dust to make your background data loading in WP7 easy, good looking, and fun!

Using Rx to fine tune moving maps in Windows Phone 7

In the MyTours application I’m developing, I wanted to show the user their location on a map, and have the map track along with their movement.

Better Theme-Aware Icon Buttons in Windows Phone 7

A few weeks back I posted a fairly hacky solution to have theme aware icon buttons (like the ones on the application bar). At the time, I knew there must be a better way. I’ve found it now.

One-time Cached Images in Windows Phone 7

It’s trivially simple to put an Image control onto a page in Windows Phone 7 and point it at a url. Handily, the Image control will also cache that URL, and not request it again for the life of your application. But what if you’re like me and really, really want to save data traffic?

Theme-aware Windows Phone 7 Icon Buttons

If you download the set of standard Windows Phone 7 icons, you’ll notice there are two sets: one for dark backgrounds, and one for light backgrounds. The built-in application bar magically picks the right icon, but if we want to use these icons for our own buttons, we need to switch between them.

Integrated Links and Styling for Windows Phone 7 WebBrowser Control

The situation: you need to display nicely formatted HTML in your Windows Phone 7 application. You want the formatting of this HTML to match the system theme, and that formatting to respect the user’s theme selections.

Proper JSON Deserialization in Windows Phone 7

So my first port of call was the class that has been mentioned a number of times for using JSON over WCF: our friend the DataContractJsonSerializer. However, if you ask the DataContractJsonSerializer to deserialize the JSON above into a nice Dictionary<int, Person>, it fails.

Test Driven Development with Windows Phone 7

With the Windows Phone Marketplace, user feedback and ratings are supremely important. One annoying bug can mean the difference between a 5-star rated, top-selling app, and a mediocre seller. Test Driven Development gives us a developers an assurance that our apps are internally consistent and perform properly, especially as we add new features and releases to existing applications.

Displaying HTML Strings in the Windows Phone 7 WebBrowser

I’m building a Windows Phone 7 application, and I have a need to show nicely formatted HTML from a dynamic source, but not a web server. I hacked around with Silverlight’s TextBlock with its Inlines property for a while, but the lack of anything other than a plain Run object leaves me short. I can’t easily render links and lists.

Twitter: nzben