Category: Windows Phone

Another way to close Windows Phone application from code

Correction In my previous post on how to terminate the Windows Phone application i proposed a solution that is not really in accordance with Windows Phone Marketplace Technical Cerification Requirements (see requirement 5.1.2): ” An application that closes unexpectedly fails certification. ” Even though I’m pretty sure that this requirement is not enforced since my apps use this approach and they were never rejected i decided to present another way. Some good people suggested in comments of my previous post that you can terminate current application  simply by calling the XNA Game class Exit method like this: The downside of this is…

How to terminate your Windows Phone application programmatically?

Its weird how in Windows Phone API there is no way to easily terminate your current application. I guess makers of the platform did not wanted us developers to mingle with the application lifetime too much, phone should decide when an app is not needed and terminate it. But i just simply cannot help myself, i always like to have full control, for example in my Offline Browser application i want to end the app if user presses the hardware Back Key multiple times in short time intervals...

Using Instapaper and other Mobilizer services in Offline Browser for Windows Phone

Mobile is the future! Its a known fact that mobile usage of internet is growing. More and more people are using primarily their phones and tablets to browse the web. Yet many websites are still not optimized for small screen devices. My application Offline Browser for Windows Phone allows you to save whole web pages for later offline reading, but what to do if the website is not optimized for mobile devices? Mobilize it! This is where the concept of Mobilizer Services comes in. Offline Browser supports multiple web services that can transform given web page into simpler version, where…

Throttling Immediate TextBox Binding Behavior for Windows Phone

The learning curve of a Windows Phone developer While developing Offline Web Browser for Windows Phone i had to build a small MVVM framework in order to keep the logic out of the views. One of the first thing i found missing was a way to force immediate propagation of text entered in TextBox control to the databound property of my ViewModel. By default, TextBox binding is triggered only when control loses focus, and this is kind of lame. Code reuse is not a myth! This is really old problem. It existed in desktop Silverlight from the beginning. And it…