Windows Phone MessageBox implements scrolling!

Helpful quick and dirty debugging tip: I never noticed this before, but if you send a large amount of text to MessageBox.Show() on Windows Phone, it doesn’t just truncate it. It allows you to scroll through it all. Very cool. Very unlike the desktop message box. I was tinkering today with the web browser control…

0

Give formatting its own line

I got bitten by this not once but twice on Sunday as I hurriedly worked on a new phone app. Can you spot the difference between the the following two lines? Uri uri = new Uri(string.Format("/View/DataView.xaml?collection={0}&id={1}", collection, currentItem.getID(), UriKind.Relative)); Uri uri = new Uri(string.Format("/View/DataView.xaml?collection={0}&id={1}", collection, currentItem.getID()), UriKind.Relative); Typically I like to put any String.Format() call…

1

Using Rx? Subscribe to exceptions!

I have an app in the Windows Phone Marketplace which suddenly saw a spike in Little Watson email reports back to me last weekend. Each one looked like the last so I responded back to each user (always keep the user’s happy!) and went to investigate. The service it was talking to suddenly changed its…

0

Windows Phone travel tip – pin your map locations

Whenever I’m travelling I always have two freshly pinned tiles at the bottom of my start screen. Before I leave, I use my phone to look up the hotel I’m staying at and the location I’m visiting (like a customer’s address) and pin them both to the start screen. That way while I’m in an…

0

Populating Windows Phone view models with Rx

I’ve gotten rather fond of using the Reactive Extensions for populating my data from the web in my Windows Phone applications. They provide a lot of flexibility and the code stays in a readable form. To demonstrate in a traditional MVVM model, let’s drop some movie information from Netflix onto our Windows Phone screen. First…

0

Type, don’t look!

Just a quick tip for Windows Phone users regarding the onscreen keyboard. Most people I’ve talked to who complain about using an onscreen keyboard have a common issue. They are looking at what they type. This is their biggest mistake. When I first started using my Samsung Focus device I was getting a little frustrated…

3

Mango goodness for devs today!

From the App Hub’s news comes information on how to update your Windows Phone to Mango today in order to test those apps you have been building with on real hardware. The Windows Phone Developer team is pleased to announce the immediate availability of Windows Phone OS 7.1 codenamed Mango for registered Windows Phone developers….

0

Pivot Title Templates

By default the Pivot Control on Windows Phone 7 simply displays a TextBlock as the title of the control. But what if you want to modify the title’s control template? Creating a default Windows Phone Pivot Application we see that the MainPage.xaml contains this bit of xaml 1 <controls:Pivot Title="MY APPLICATION"> 2 <!–Pivot item one–>…

0

Don’t ForkJoin your Events

I’ve been using Reactive Extensions for .NET to attempt to wait until multiple async calls to load data are completed in order to perform some actions on all the data at once. Dev Tidbit of the Day Do not use ForkJoin with Event based observables. If you create an IObservable from a .NET event, the…

0

A Windows Phone update is going out!

No, unfortunately its not that update. It’s a small update designed to improve the software update process. Still, it is the first update for the phone and is paving the way for all the cut-n-paste & performance enhancing goodness of updates to come. More details at the official Windows Phone Blog

0