WPF Single Instance Application – Update

Monday, April 4, 2011

Back in this post I’ve presented some code that make sure you only have one instance of your application. As I’ve said before, I didn’t wrote this code, I just presented it since I came across it in a Microsoft reference application and didn’t want this gem to remain hidden. Microsoft recently released a Windows 7 Recipe named “Windows 7 Taskbar Single Instance”, which despite its taskbar-related name is simply a revised implementation of the single instance feature in both .NET and C++. There are well documented samples for both cases. The credit for this recipe goes...
no comments

Shake Gestures Library – A Windows Phone Recipe

Friday, April 1, 2011

Note: the following article was first published as part of the Windows Phone Recipe “Shake Gestures Library” found here, which I wrote for Microsoft, together with Yochay Kiriaty. Document Purpose This document introduces a helper library for identifying shake gestures by using the accelerometer built into Windows Phone 7 devices. It explains how to use the library, how the library works internally, and how you can configure the library’s parameters to adapt gesture detection to your needs. Library Features The shake gestures library uses the accelerometer to detect movement in three directions: ...

Ways to Load Applications Faster – A Windows Phone Recipe

Friday, March 25, 2011

Note: the following article was first published as part of the Windows Phone Recipe “Ways to Load Applications Faster” found here, which I wrote for Microsoft, together with Yochay Kiriaty. Purpose of This Document This document introduces the loading procedure for Windows Phone Silverlight applications. It explains common mistakes that application developers make during application launch, and how those errors can increase the total application load time and harm the user experience. Next, this document describes some possible solutions for overcoming long load times and explains their implementation. Application startup is also discussed in Performance...