In this last part of the Picture Gallery blog series, we will discuss how the app handles errors and how RadControls for Windows Phone improved the development experience. In case you missed the previous two posts, they can be found here and here. Handling exceptions
No application is complete without proper error handling. To be robust the application should handle the expected exceptions in a meaningful way or crash noisily when an unexpected error occurs. In the Picture Gallery app there are a few situations that should be expected.
The first and most important condition that we need to verify on app startup is whether...
In this second part of the picture gallery blog series we'll discuss how information is being passed between pages and how favorites are persisted to the phone's flash memory. If you haven't read the first part of this blog series, be sure to also check out the first part as well. Passing state When navigating between pages we need a mechanism to tell the new page what it will be visualizing. There are two ways to achieve this. One is to pass information between pages as parts of the query string in the page’s Uri. This is a rather limited approach and in...
Software development, like many other things, is learned by studying theory and applying that theory to practice. While practicing however, it is also a good idea to learn existing software to reinforce the theory and also learn a trick or two that are not mentioned in the books. With this in mind we decided to create a complete sample app for Windows Phone that will be free to download and study in order to help you with your Windows Phone development. It is a Picture Gallery app that demonstrates how to create a native Windows Phone client for Flickr or another...
We got inspired by the improved home screen of Windows Phone 8 and decided not to keep you waiting. You can implement the new tile sizes in your app right away using Telerik HubTile for Windows Phone. This functionality will make the home screen experience more personal than ever before and it can be very easily implemented. Here is a short video of what you can achieve using RadHubTile. This is just out of the box XAML goodness, no tricks: To start using the new tile sizes now, download a free trial of RadControls for Windows Phone and then download the Latest Internal Build from...
The RadControls for Windows Phone Q2 2012 release is ready and includes a brand new kitchen appliance – RadConversationView. Developing social applications just got a little easier on Windows Phone. No need to create a message viewer from scratch any more, just take RadConversationView and tweak it so that it meets your requirements. As is tradition in XAML based technologies, RadConversationView has no hard-coded assumptions about what kind of messages it will be displaying or how it will display them, it only has a default implementation of a message model and default templates for visualizing that model. Developers can either take this...