Category Archives: Tutorials

Post-event summary of Windows Phone CodeCamp in Latvia

Another great Windows Phone code camp took place on a weekend (between 3rd and 4th of December, 2011) and this time in the lovely capital of Latvia: Riga. Once again there were many talented developers, designers, managers and mentors, who … Continue reading

Posted in Development, Events, Presentations, Tutorials, Windows Phone 7 | Tagged , , , , , , | Leave a comment

IoC for Windows Phone: Ninject

As I have promised in one of my previous posts, I will spend some time explaining the differences between different Inversion of Control (IoC) supported by Silverlight for Windows Phone. In this post is about Ninject. I will also try … Continue reading

Posted in Development, IoC, Silverlight, Tutorials, Windows Phone 7 | Tagged , , , , , , | Leave a comment

Making a POST call to a HTTPS url using HttpWebRequest

Here is a sample method I’ve used for making a POST(HTTP Method) call to a HTTPS url using an instance of HttpWebRequest class: Keep in mind that if your call does not have any content(request body) you still can not … Continue reading

Posted in Development, Tips & Tricks, Tutorials, Web | Tagged , , , , | Leave a comment

Creating reusable animations programmatically in Silverlight and Windows Phone

As many of you know, I answer a lot of emails regarding Windows Phone development and last week I was asked to show how to create reusable Storyboards with animations programmatically in Silverlight (Windows Phone). Of course, there are plenty … Continue reading

Posted in Development, Silverlight, Tips & Tricks, Tutorials, Windows Phone 7 | Tagged , , , , | Leave a comment

Three properties that I use for almost every Windows Phone application

In this post I will tell you which three properties I use for almost every of my Windows Phone applications. First property is used by me to determine if the application is running in trial mode or full mode. Second … Continue reading

Posted in Development, Themes, Tips & Tricks, Tutorials, Windows Phone 7 | 2 Comments

Detecting and simulating low memory devices in Windows Phone 7 applications

Probably most of you have read Performance and Resource Management part of Windows Phone 7 Application Certification Requirements v1.4 document concerning requirements to memory consumption. In particular, there is a sentence regarding low memory devices (which have only 256 MB … Continue reading

Posted in Development, Optimization, Tips & Tricks, Tutorials, Windows Phone 7 | Tagged , , , , , | 6 Comments

Binding text containing tags to TextBlock inlines using attached property in Silverlight for Windows Phone 7

Lately I’ve had to bind a text in custom format(having different tags inside) to a TextBlock element for one of my Windows Phone 7 applications. The only option to bind such specific text to a normal TextBlock was in using … Continue reading

Posted in Binding, Development, Silverlight, Tutorials, Windows Phone 7 | Tagged , , , , | 6 Comments

Passing values between Windows Phone 7 pages: Destination page instance within OnNavigatedFrom method

Another appropriate way for passing data from one page to another during the navigation is in setting up destination page properties (or variables) within OnNavigatedFrom method of source page. Tweet

Posted in Development, Navigation, Tutorials, Windows Phone 7 | Tagged , , , | 1 Comment

Passing values to Windows Phone 7 pages: URI paremeters and QueryString

From my point of view specifying parameters and their values in URI (QueryString) is probably the easiest way to pass data from one page to another during the Navigation. In this post I am going to cover this approach for … Continue reading

Posted in Development, Navigation, Silverlight, Tutorials, Windows Phone 7 | Tagged , , , , | 3 Comments

W18: Difference between GoBack method and Navigate method of NavigationService in Windows Phone 7

Recently I have noticed that not many Windows Phone 7 developers know the difference between NavigationService.GoBack() method and NavigationService.Navigate(..Uri..) method (in case it leads to the previous page). I will explain the main difference in this tutorial. Tweet

Posted in Development, Navigation, Tutorials, Windows Phone 7 | Tagged , , , | 4 Comments