Metro Nuggets

Bitesized tidbits for building Modern (Metro) apps.

Tag Archives: #win8dev

Introducing the RottenTomatoesPortable PCL

Over the weekend I was looking at some Rotten Tomatoes stuff for Media Browser 3, and I noticed they had an API for getting the movie information (including reviews and fresh ratings). It’s been a while since I last did a PCL and to avoid any withdrawal symptoms, I created a new project.

For those that don’t know, Rotten Tomatoes is a review aggregator for movies that gives a “freshness” rating based on the reviews that have been done about a given movie.

Read more of this post

ScoreoidPortable Gets Secret Squirrel API Calls

One of the cool things about working on something that in turn works with a new platform is that both parties are looking to help each other out. And such is the case here. After releasing ScoreoidPortable, I was contacted by the creators of Scoreoid thanking me for my library and also giving me access to some new methods that are new and, as yet, undocumented on their wiki. The documentation for them is coming soon, but they were keen for them to be added to ScoreoidPortable.

Read more of this post

Belatedly Introducing LiveSDKHelper

A while back I was working on a project that allowed me to actually look at, and use, the Live SDK in order to access information on SkyDrive. I was surprised to find just how hard it was to use the Live SDK, so as part of building the main project, I also built a little helper for using the Live SDK.

Read more of this post

Introducing the ScoreoidPortable PCL

For a game I’ve been writing the last few weeks, I’ve been using an online scoring system in order to keep a track of people’s best scores whilst playing the game. What I’ve been using is Scoreoid, which is a cross platform scoring platform. It’s actually pretty easy to get yourself set up with Scoreoid, but that’s not the purpose of this post.

Their API is a REST based one and has a pretty expansive list of calls, from player creation, to score creation to leaderboards, etc. Initially, I looked to see whether anyone had already created any kind of helper library for Scoreoid and found Scoreoid for Windows 8 which I had to tweak in order to use it in my Windows Phone game. Unfortunately, the number of methods it had implemented was somewhat limited, I guess Rudy only implemented the ones he needed, so I found I was going to be adding a lot to his existing code base. In the end, I decided I’d write my own version and have the library how I wanted it (naming conventions etc).

So that’s what I did.

Read more of this post

Coding4Fun Toolkit: Introducing LockScreenPreview

Previously I spoke about the SuperImage control that came into 2.0.6 of the Coding4Fun Toolkit today, well now I want to introduce you to another new control, LockScreenPreview. LockScreenPreview is a control for Windows Phone 8 and Windows Store (not Windows Phone 7), that does exactly what the control name suggests it does, it offers you a preview of what a user’s lock screen will look like.

Read more of this post

Coding4Fun Toolkit: Introducing SuperImage

The Coding4Fun toolkit for Windows Phone and Windows Store was updated recently to 2.0.6, and one of the new things to find its way into the toolkit is a new control called SuperImage. SuperImage is a control for Windows Phone and Windows Store that is basically a multipurpose Image control that you could use instead of a normal Image.

Read more of this post

Running the Dispatcher From the Settings Charm

In my previous post, I talked about how to receive messages from a UDP broadcast, and for the Windows 8 app I’m writing, I wanted the results of this to be shown in the settings charm. But here I ran into a problem, the Dispatcher kept failing with an NullReferenceException on Window.Current and so the results of my broadcast never got shown in the settings page. I asked on twitter, but got no response, so I’ve had to resort to what feels like a bit of a dirty workaround, but there you go.

Read more of this post

How to Send and Receive a UDP Broadcast in Windows Phone 8 (and Win8)

I’m sure you’ve seen plenty of mobile apps that do a search for a device on the network (say a bluray player) and it magically finds your device on your network. Looks pretty cool, right? Would be great to add that into your app wouldn’t it. Well, as long as you’re not developing for Windows Phone 7, then I will show how.

Read more of this post