Moved to a new home

You’re looking at dead content. I am no longer updating this blog and have relocated to my personal web site. See you there 😉


WP7 Code: Mocking Event Streams with IEnumerable

A few weeks ago I showed how to represent computations involving geo locations or accelerometer readings as queries over RxLINQ event streams (i.e., IObservable collections). In both instances the event source was one of the sensors that is on board of every Windows Phone 7 device. What happens when applications querying position changed or acceleration…


WP7 Code: Using the Accelerometer API

  My previous  blog posts on WP7 Code covered the GeoLocation API, a surface area that provides access to the phone’s location based on signals picked up by one of its radios. However location alone is probably not sufficient for mobile applications. This post shows how to take Windows Phone 7 applications beyond location and…


WP7 Code: Managing Application State

  Visual Studio and the Windows Phone Developer Tools make building software for the Windows Phone similar to building desktop or browser applications. However, beyond these similarities crafting a phone application differs fundamentally from building an application aimed at a device with a keyboard, large screen, running on AC power, and with reliable network connectivity…


WP7 Code: Geofencing with the GeoLocation API and Rx

  Besides providing geographical coordinates, computing distances, and making reverse geocoding service requests Windows Phone 7 can also signal when it is moved outside of a perimeter. The buzzword for this scenario is Geofencing, and this post shows how to implement it (when the geofence is circular) with the WP7 GeoLocation API and Rx. An…


WP7 Code: Reverse GeoCoding with the Bing Maps Service

  My previous blog posts showed how to obtain location as an event stream from the Windows Phone 7 GeoLocation API, and how to translate lat/long position readings into distances. Here I show how to build an application that combines data from the phone’s geolocation subsystem with data from the cloud. In effect it is…


WP7 Code: Distance Computations with the GeoLocation API

  In my previous post I showed the most interesting code fragments for a location-aware Windows Phone 7 application. The code generates an event stream corresponding to location readings from the phone’s location subsystem. However, there are many applications that instead of lat/long readings need to compute the traveled distance (for example, when driving, biking,…


WP7 Code: Using the GeoLocation API

  I’m kicking off a series of blog posts focused on writing Windows Phone 7 code with one of the APIs that will probably attract many developers interested in getting their feet wet: GeoLocation. Building this code requires: The Windows Phone Developer Tools, fresh off the press as of September 16. The Windows Phone Development…


Coming Soon: Windows Phone 7 Blog Posts

It’s been an embarrassingly long time since my last post on this blog. Several cool projects in the Windows Phone 7 team kept me busy. Now that we shipped the bits I’d like to revive this blog with snippets on writing Windows Phone 7 code. Stay tuned for posts with WP7 Code in the title…


Web Sandbox available under the Apache License

Earlier today we announced releasing the runtime code of the Web Sandbox available under the Open Source Apache License 2.0. The announcement has already been picked up by the blogosphere. Should you head over to the site check out the Web Slices samples we added with this release: weather and traffic.