Simple Movie Finder App with Windows Phone 7

I haven’t done much mobile developement since my senior design project at Drexel, which is why I chose to play once again with Windows Phone 7. The exercise or Code Kata I decided upon is a simple movie information finder. Nothing fancy. Pass in the movie title, get back the plot, the picture, the duration, and other bits of information about the movie. Just enough to be completed in a single sitting of less than 2h.

The hardest part of this exercise was finding a movie database. For reasons I fail to understand, IMDB does not provide an REST API for their movie database. Lucky for me, Brian Fritz did that for them.

The only thing left for me to do was to write the app, query the movie database, and display the data. Trivial. To make things even simpler (I love Open Source), I used RestSharp to handle retrieving the data for me and deserializing it…though the deserialization did not work.

Because the Movie object contained in the response was always null, I ended up using Json.Net to deserialize the returned Json data.

Voila!

Movie find

All in less than 2 hours, just the way code katas ought to be.

Advertisements
Simple Movie Finder App with Windows Phone 7

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s