WebClient/WebRequest threading untangled

Andreas Hammar

WebRequest and its baby sister WebClient behave differently regarding what thread they return on. This is a short post to really clarify what returns where. Summary WebClient will always return on the UI thread if called from the UI thread WebRequest will always return on a background thread The investigation To test this I created [...]

Tags: , ,

Crafting the Øredev Windows Phone app live tile

Andreas Hammar Håkan Reis

In November last year, it was once again time for the 2011 Øredev developer conference. For the 2010 conference, we at Jayway created a schedule app with a social twist – a puzzle game that you played by talking to other participants. When updating the app this year, we decided to make use of the [...]

Tags: , ,

WP7 app update and NeutralResourcesLanguage

Andreas Hammar

The Windows Phone Marketplace was updated with new features in July 2011, one has to do with default language. The previous process to submit an app required you to define the default language when submitting the app, the new version checks the default language in the uploaded xap. The problem An app created before July [...]

Tags: , , , ,

WP7 Marketplace Beta – new app downloadable delay

Andreas Hammar

Have you seen the new (since fall 2011) ways to publish a Windows Phone app to Marketplace? In addition to regular publishing, you can now publish as private beta or targeted. Neither will make the app discoverable in the Marketplace, Beta is time limited and does not include the full certification requirements. MSDN has a [...]

Tags: , , , ,

Implicit styles in Windows Phone 7

Andreas Hammar

Coming from WPF and Silverlight for the desktop into Silverlight for Windows Phone, which is Silverlight 3, can leave you longing for some features – one that I missed was Implicit Styles. But, with the Mango (7.1) release of WP7 we now have Silverlight 4! What are implicit styles? A style that has a target [...]

Tags: , , , ,

Fixing WP7 app not starting after project rename

Andreas Hammar

If your Windows Phone 7 project isn’t starting at all – you’re not even hitting App.xaml.cs, you’ve probably renamed the app project. Fix: Set the startup object on the app project’s properties page In the .csproj file, this corresponds to the SilverlightAppEntry element: <SilverlightAppEntry>PhotoDiary.App</SilverlightAppEntry> I would call it a bug, that you cannot rename a [...]

Tags: , , , , ,

WP7: Link in text with RichTextBox on mango

Håkan Reis

While the first iteration of Windows Phone was based on Silverlight 3 the upcoming release, mango, is based on Silverlight 4. That means a lot of new functionality like implicit styling and and rich text controls. Especially the last was interesting as it gives you a lot more control over the displayed text. What I [...]

Tags: , , , ,

Windows Phone 7 planning poker game application

Håkan Reis

Update 2: Now using the RTM SDK! Update: Now using the new beta of the windows phone SDK! I was trying out a few things on the windows phone 7 platform and wanted to come up with a simple application idea. There are numerous of simple list application examples out there like twitter and RSS [...]

Tags: , ,

Windows Phone 7 series paper prototype

Håkan Reis

I was trying to figure out what text size to use on the Windows Phone to make it readable. After using the 24” monitor where I get a “big ass” phone, also known as a .Pad ,  I realized that it’s not going to work. So I started out a little quest to find some [...]

Tags: ,

Microsoft MIX10 brain dump

Håkan Reis

Also cross-posted on my personal blog After three days of the Microsoft Mix10 event the brain tend to overflow. So I sit down at a Starbucks and try to summarize my thoughts before my mind explodes. It’s easy to get caught up in positive buzz during events like this but I really think Microsoft is [...]

Tags: , , , , , , ,