In my previous
blog post, I described a control called the
PivotIndicator.

The PivotIndicator is made of a small rectangle that is animated on an X axis: its position is updated every time the selected item of the Pivot changes. Here is the code which setup this animation:
1
2
3
4
5
6
7
8
|
var border = new Border { /* init properties... */ };
var animation = new DoubleAnimation
{
Duration = new Duration(TimeSpan.FromSeconds(0.5)),
};
Storyboard.SetTarget(this.animation, this.border);
Storyboard.SetTargetProperty(this.animation, new PropertyPath(Canvas.LeftProperty));
|
The problem I noticed was that this animation wasn’t fluid. In particular, when the PivotItem contains a lot of items…
Read the full post
Yesterday I recorded a screencast to demonstrate how to colorize images in a Windows Phone 7 application using Expression Blend 4. In Silverlight or WPF I use a shader to colorize images, but because shaders aren’t available in the same way in Silverlight for Windows Phone I had do come up with a different technique. In this tutorial I show how to use application bar icons as an opacity mask on rectangles. I set the fill brush of these rectangles to the default phone accent brush.
Here’s the video:
colorizing images using expression blend
For the last few months my colleague Charlotte and I have been working on a Windows Phone 7 app we hope to release soon. Attendants of our “
Performance tuning and analysis“ during the Microsoft TechDays this week had a brief overview of this app.
In this post, I wanted to share with you all the tools we’re using to build this app.Most of them are free, so they might interest you…
Read the full post

In about 2 weeks now, I’ll have the chance to be part of the French TechDays in Paris as a speaker. This year, I’ll own a session called “Windows Phone performance analysis & optimisation” with my colleague Charlotte.
The agenda looks like the following:
- why performance analysis ?
- device vs emulator
- leveraging WP7 threads
- using the VS profiler for WP7
- tips and tricks
During the session we will use a “real” app we’re working on for a few months now (I’ll share more details after the session). We have some cool tips that haven’t been shared anywhere before, so if performance is a topic of interest for you, stat tuned !
Click on the following image for a link to the TechDays website:

I’m planning to share the most of the content of this session on my blog soon after the event.
Don’t hesitate to stop by and say hi…
Intro
The
Technical Certification Requirements for Windows Phone 7 applications state the following:
5.5.2 – Content and Themes
Application content, such as text and visual elements, must be visible and legible regardless of the phone theme. For example, if the phone theme changes from black background to white background, the text and visual elements of your application must be visible or legible.
This means that everything in you application, including images, should be well visible in the dark and light theming of the phone. Handling dark/light support is very easy.
Read the full post
I did some designing for a Windows Phone 7 App this week. I wanted to test some graphics using the accent colors. I’ve saved the color swatches I use.
If you’re using Photoshop or Illustrator and would like to use them too, you can download them here:

A while ago I implemented the Facebook photo endpoint into my Windows Phone
Pictures Lab app. The implementation of the login was quite straightforward thanks to OAuth 2.0. Only the logout was way harder than one might expect. This post describes how to logout from Facebook using the Facebook API.
In my
Pictures Lab app you can edit photos, make them look awesome and then save or share those with your friends at Twitter or Facebook. The Windows Phone Mango API provides the
ShareLinkTask and the
ShareStatusTask which can be used by an app to share an URL or text using the social services the user has connected the device to. Unfortunately there's no built-in SharePhotoTask to share a photo using the services the user has already authorized. That's why I had to implement it in a custom way where the user has to authorize again. This
blog post by my mate Nick Randolph describes very well how to login to Facebook from a Windows Phone app.
Read the full post
The samples of my open source Windows Phone and Silverlight Augmented Reality Toolkit were updated to the latest version of the WP 7.1 and Silverlight 5 SDKs.
Please note the changed security model in Silverlight 5, which is a big bummer. My Silverlight MVP friend Morten wrote a few true words about it
here.
As usual you can find a list of the samples on the
project site and also get the code there.

Today my new app was published to the Windows Phone Marketplace. The application shows a big red button. When this button is pressed a quote from the movie and TV series of
New Kids is played.
In this I application I wanted to try a few things. First, I wanted to see how to create a trial version of an application with possibilities to buy the app. Next I added a couple of behaviors to make it very easy to share a link to the application in various ways. The main goal of all these is ease of use for the developer and reusable. For example, a lot of times you’ll need a link to the marketplace, navigate to a URL or let the enduser write a review.
Another thing I would like to build is a localized app. The first version of this app is in Dutch only. I’m working on the German version. There will be an English version too, although this will contain the Dutch quotes.
Trial version
For the trial version of the application I wanted to show a MassageBox after a few taps on the button. The MessageBox should have a link to the marketplace to directly buy the app.
Read the full post