Prizes and Rewards with Windows Phone

image

There has never been a better time to be a Windows Phone developer. If you are a UK student you can take part in a Student Competition where you can win prizes just by submitting applications to the Marketplace. Since you can also sell these applications, and it costs you nothing to join the Marketplace if you register via DreamSpark this seems like a pretty good deal. Find out more here.

image

If you are old like me and therefore no longer a student you can instead sign up for the Think.Dev rewards programme and get prizes and rewards for submitting apps. This is open to all Windows Phone developers in the UK and you get stuff for just turning up and submitting apps. I might even win a prize for Cheese Lander (although this is probably unlikely). Sign up here.

Some Windows Phones Contain NASA Chips

ChipVersion

Sadly, my phone just contains ordinary chips…. such is life.

It turns out that your Windows Phone 7 device might be worth a lot more than you think, if it contains custom, radiation hardened memory chips, mistakenly installed when it was built.  Apparently, because the part numbers of the memory chips only differ by an H (for hardened) production plants put the highly valuable devices into a number of Windows Phone devices when they were made.

Ivan Felfrit, NASA spokesman, is saying that these chips were originally destined for the next generation of Mars Rovers, Spirit II and Opportunity IV. “We need several sets urgently” he said earlier today, “We have to test the programs on genuine hardware and we also need the devices for endurance testing”. NASA are happy to give you a replacement phone and 10,000 dollars if you have a device with these components inside. They have advanced surface mount labs where they can remove them and install them in Mars Rover prototypes.

To find out if your phone has the chips in it, just to to Settings->About and touch “More Information”. You should see the screen above. If the Chip SOC version is set to 0:36.2.0 you have the NASA chips. Mine above only has 0.36.2.6, which is the standard devices. Either chip works fine, it is just that the NASA ones are worth more, and might be going to Mars. If you think you might have the NASA chips, send an email to i.felfrit@wp7formars.com and he will get right back to you.

Windows Phone at MS Days

Windows Phone Audience

Did my second session of the day on Windows Phone. This is some of the audience before the start. Thanks for being another great audience folks.  Everything worked, in some cases eventually. My “party piece du-jour” was to start the program on the device rather than the emulator. I did it pretty much every time, in the end the people watching were spotting it before I did.

I got a question about Windows Phone Marketplace during the talk and I said I’d follow up on these pages. As I understand it this is as much a legal as a technical issue, in terms of how the law works in Bulgaria. At the moment you have to go through another publisher I’m afraid, which means people like http://appamundi.com/Publishing/ or http://www.yallaapps.com/.

You can find all the content from the lecture, including slides and demos, here.

After I’d finished I had a wander round and took some pictures of the conference.

Speakers Room

Who knows what goes on behind these doors….

Banner

Nice Banner

Windows Phone Banner

Windows Phone, Bulgarian style

Movie Showings

The conference is being held in a huge cinema multiplex. If you hurry you might make one of the 10:00 showings..

Lights

Nice Lights

Three Thing Game Judging at Platform Expo

Three Thing Game Finals
Yours truly with “To Be Confirmed”, whose take on “Warrior Koalas on Mars” got them a Windows Phone each. Good work guys. Now put it in the Windows Phone Marketplace.

We put 60 or so bleary eyed students on a double decker bus and drove them down to Platform Expo for the judging.

Three Thing Game Finals

They must be judges, they’ve got clipboards…

All the group watched the judging videos (which will be online soon) and asked a bunch of questions about the entries.  At noon we announced the winners. The students then had an hour or so to explore the expo (or collapse somewhere) and then the trusty bus brought them back to campus.

Every team stayed the course this time, and we had playable content from all of them. Some of the teams did amazing things with some truly tricky starting points and they stuck to their subjects really well. I’m terrifically impressed with all the students, who served as ambassadors for the university at every level. We even had a bunch of volunteers who had given up a chunk of their Sunday to come and demonstrate the 3DS to people at the expo.

Jon and I did talks about 3D displays and Kinect that were well received and well attended (although I’m not sure how coherent we were only having had 3 hours sleep in the last 36).

Great fun, if exhausting. I’ve put a load of pictures up on Flickr (search for the tag threethinggame) and I’ll be uploading the judging videos on Monday.

Pex for Windows Phone 7

image

I write programs for fun. Seriously. I’ve got games at home still in the box because I’d rather fiddle with some C# on Windows Phone than try to kill demons/drive cars/fly spaceships etc etc.

Pex is a great way to play games while you write programs. I’ve played with the web version before and now I can do that on my phone too. You can download Pex4fun and play along too. If you have any interest in brushing up your C# smarts in a fun (and portable) way then get this on your phone. It’s free too.

Red Nose Day Pictures

RedNose

Some of the audience, watching me code under pressure in rhyme

Jamie Wins a Phone

Jamie picks up his winnings. Don’t I have big elbows?

Agnes Picks up her phone

Agnes was the winning bidder of the second phone. This is where the money changed hands….

We’ve done the final tally and it turns out that adding together the sponsorship money, the cash taken on the day and phone auction we ended up raising over 1,260 pounds for Comic Relief. Great stuff. Thanks to everyone who helped. To Microsoft for providing some lovely prizes and an awesome phone, to Adam and Mike for sterling technical support and the audience, for laughing in most of the right places.

You can find a video of most of the event here: I’m trimming the live recording together at the moment, should be available soon. If you have any pictures of the occasion then I’d love to see them. Put them on Flickr tagged Robinrhyme.

Many apologies to the hapless lecturer in the session before mine, who must have been perplexed as to why there was a huge number of students in silly hats waiting outside, and a nervous bloke trying to get in and set up some cameras and stuff…

And now I’ve got a First Year tutorial. Not in rhyme, thank goodness.

Getting a Windows Phone App to Market

Red Nose Game Screenshot
Now you really have to get a copy….

My Red Nose Day application has finally made it to the Windows Phone Marketplace. In spite of my efforts. It is the first fully developed game that I’ve put out there, and getting it out there was quite an experience, especially when it kept failing certification. So that other people can learn from this, and so that I don’t do the same stupid things again, here are some hints for preparing a game for certification.

Consider the Pause and Tombstoning behaviour at the start

I got so carried away with my game ideas that I ended up leaving all the code that dealt with pause and resume, and what happens when the game is tombstoned, until the very end. The plan was to add this in a couple of hours. This did not happen. I spent a lot of time messing around and finally ended up with something that was not correct according to the Marketplace requirements. Foolish me. I had used what I thought was a rather nice fading effect between screens, but this caused me endless grief when I realised that I might get tombstoned during a fade. And the game structure had a huge bearing on what I had to do when the user drops out of a game, something that they can do at any moment on the phone.  Next time I’ll design the gameplay with a view to the fact that my game might get stopped at any instant. 

This should extend to making game objects “tombstone aware”. In other words, don’t try and impose the phone behaviours on objects in your game, make sure that the objects themselves can deal with suddenly having to stop and resume.  This is something that game developers that have not written a lot of mobile games might find new and a bit scary, but it turns out that if the objects are built with this in from the start it makes the game a lot more reliable. My code tried to knock the game engine into a particular state for tombstoning, what I should have done is have states and messages specifically concerned with suspend and resume.

For those that don’t know what “tombstoning” is, it is the recognition of the unpleasant fact that a program on a mobile device is always vulnerable to an interruption that results in the program being stopped or, worst case, removed entirely from memory. Windows Phone programs deal with tombstoning by responding to the various messages that are sent in these situations and the Windows Phone Marketplace has strict standards on proper behaviour.

These are messages are not hard to deal with, but you have to get your head properly around the way they work. You must also not assume (like I did) that Silverlight and XNA tombstone messages are exactly the same.

Make sure the Back button always does something

I made the an assumption that in some screens there was “no need” for a back button, since the player wouldn’t want to go back to the previous screen in that situation. Stupid, stupid, stupid. I tell my students that every time you make an assumption, somewhere a specification fairy dies. I should have read the Application Certification Requirements that state emphatically that the Back button must always do something, either return to a previous screen, exit the app if at the “front page” or pause gameplay.

Make sure that the first page a user arrives at is a sensible one

I was very proud of the way that after a restart my game always went back to the same page it was stopped from. Unfortunately this is wrong. If the user starts a new copy of the game (as opposed to resumes it) then it must go to a starting screen where the Back button can be used to exit the game.  Again, I’d not read the requirements in enough detail to appreciate this.

Make good use of the Testing Reports

The test reports are great. They are actually written by someone who has played your game and will give you a simple sequence of steps that illustrate the broken parts. So work through them carefully. I found that I could  follow their steps and then, having seen the fault, it was quite easy for me to drop into the code and put it right. One tiny thing, when you re-submit an application you lose the reports from the previous run, so if you want to know what you had to fix you should save the pdf files when you have read them.

Keep Moving Towards the Happy Ending

The Marketplace people are great. Don’t think of certification as a bunch of obstacles that you must pass through on the way to getting to market. Instead you should regard the certification team as a bunch of folks who are tying to make you produce a solution that works the same way as all the others on the Windows Phone, and doesn’t do anything stupid.

Anyhoo, search Windows Phone Marketplace for Red Nose Game and let me know what you think…

Red Nose Day Streaming Fun

Red Nose Day Streaming

I’ve made a special poster to celebrate…

I’ve sorted out the streaming of the Red Nose Day lecture in rhyme. You should be able to join in the fun and games here:

http://www.ustream.tv/channel/rob-miles-red-nose-day/

The channel will go live on Friday 18th of March at 12:15 GMT.

Be there, join in the fun and win prizes.

And don’t forget to sponsor me:

http://my.rednoseday.com/robmiles

One lucky sponsor will win a Windows Phone device.

Windows Phone Foamies for Everyone

OLYMPUS DIGITAL CAMERA

The parcel I thought was books turned out not to be. Instead it was packed full of Windows Phone Foamies that Stephanie had sent over for my Red Nose Day Lecture in Rhyme next week.

All this after a dangerous and expensive trip to Sheffield to pick up the parcel. Dangerous because I undertook some dodgy satnav-inspired lane changes and expensive because we stopped off at Meadowhall on the way back.

Anyhoo, I think I can say with confidence that if you come along on Friday there is a very good chance that you will get a foamie. As long as you put some cash in the bucket. I’ve also found out that I’m getting some real, non-foam, Windows Phones from a Very Generous Microsoft to give out. One will be given to a random person chosen from my list of donors on:

http://my.rednoseday.com/robmiles

Give me some cash and you could be on track to get a phone of your own. (you see, I’m getting into the rhyming spirit already). Now, if only I could find something that rhymes with “Silverlight”.

Robs Red Nose Day Game Takes Shape

Red Nose Game Screenshot

Now with added Nose Images and High Score

The Red Nose Day game is coming along quite well. For something I started at 2:00am in the morning last week while jetlagged it is actually progressing in a reasonable manner. Some time back I read a very good interview with Jordan Mechner, the man behind “Prince of Persia”.

He said some very sensible things about game development and one point he made really resonated with me today. He said that it was OK to play around with ideas and mess about with your game until you find out what it is really about. Once you have got your central game theme sorted you must then build on that like crazy. And you must defend your idea against all.

Up until today I’d got some bits and pieces moving around the screen and some text drawing and screen swapping code, but I didn’t really know what the game was about. But now I do. I’m not saying it is going to be awesome. But it is going to be quite fun.

I’m hoping to finish all the bits and pieces, add some music and get the game into Windows Phone Marketplace by the end of the week so that everyone can get a copy and play with it on their Windows Phone, and donate lots of cash to Comic Relief.

/RedNoseDay

Sign up now for Three Thing Game

ThreeThingGame Postcard

Three Thing Game is a game development competition being run for students by the University of Hull. It will run for the week starting 21st March . The final will be on Sunday 27th March at the Platform Expo event, after a 24 hour intense programming session on Hull University campus the night before.

http://platformexpos.com/

The games will be written using XNA for Windows PC, Xbox 360 or Windows Phone 7. Microsoft are sponsoring the event and providing Windows Phone 7 devices for each team member as prizes.

If you are a student at Hull and want to form a team sign up (and you really should) you can find out more here:

http://www.threethinggame.com/

Red Nose Day and Windows Phone Fun

Robs Red Nose Day Windows Phone App

I’m doing another Lecture in Rhyme for Red Nose Day, March 18th.

The lecture will be all about Windows Phone Development and will be entirely in rhyme, except where I mention SilverLight, which doesn’t seem to have much that rhymes with it.

You can find out more, and how to sponsor me, here:

/RedNoseDay

The Red Nose Game is also coming soon for Windows Phone….

Windows Phone Rock Star

Rob Miles Windows Phone Rock Star

Just finished my Windows Phone Rock Star session. Now I can put the guitar back on the wall. Thanks for being a great audience and staying to the end. Some great questions too.  You can find the sample code here.

There were some questions. If you are not based in the ‘states and are wondering how to get the tax side of things sorted you can find some interesting information here:

http://forums.create.msdn.com/forums/t/19464.aspx

When I figure out how to do it myself I’ll put a post up explaining what I did.

You can find my Blue Book (and my Yellow Book) here:

http://www.csharpcourse.com/

Microsoft Career Conference 17th Feb

Career Confernce

I’m treading the virtual boards again. There’s a Microsoft Certified Career Conference on Thursday and I’m doing a session about Windows Phone development. You can find out more, and sign up, here:

http://www.mscareerconference.com/

The title of the session is “60 Minutes Rock Star: Find out how to become a Windows Phone Rock Star”. It as at 2:30 pm GMT. I might even get my guitar of the wall and lay down some riffs.

Then again, I might not….

A Couple of Good Windows Phone Apps

When I had my iPhone I used to enjoy browsing the App Store and downloading and playing with little programs. You could pass an hour or so spending a couple of pounds on things that caught your fancy, searching for that neat app you could show of in the Tea Room the following day.

Windows Phone Marketplace is nowhere near as full as the App Store, but it has now reached the point where I can go in there and pull out some diverting programs. Here are a couple I’ve found recently. Both are free and both are fun.

image

This gives you your own personalised fireworks display on the phone, that you can drive by tapping the screen. There is a good range of different firework types and colours with satisfying explosions and even haptic feedback (the phone vibrates when the fireworks go off). You can capture images of the displays and also use any picture as the backdrop.  Great fun, if totally useless, and free. Search the Marketplace for Fireworks.

image

This program is excellent. It is a dictionary of British Slang. If you want to know the true British meaning for words like Gazump and Wally you can use this program to find out. It also defines some words that you might not want your kids using, but it might even be useful for those of you around the world not from these shores, and it is very amusing for us locals too. Another good, free app. Search the marketplace for “British Slang Free”.

Getting Students Started in the Windows Phone Marketplace

Qwest Field

Getting started as a student in Windows Phone marketplace is actually quite easy, but there are one or two issues that you need to be aware of, and best practices to follow to make sure that you get going as quickly as possible. If you know how to do stuff the two issues that you need to be aware of are very simple:

  • The validation of your account only starts once you have submitted an application for approval.
  • You can only unlock a Windows Phone device once you have submitted an application for approval.

The bottom line here is that the first thing you must do when you have registered is submit an application for approval. Think of this as a “placeholder” that will move you through the process. You can remove it from sale later.

If you are an experienced Windows Phone developer this should be no problem. If you are not submitted before the process is simple enough, and to make it even easier I’ve made a tiny screencast that goes through it for you. In this I make a brand new application from scratch and then show how it would be submitted for approval. If you just copy what I do you can be sorted in around half an hour or so.

You can download and view the video here:

Windows Phone Marketplace Walkthrough

Note: The application that I submit during the screencast hasn’t appeared in the Marketplace yet. I’ll let you know when it does…

Get Your Windows Phones at Hull University

Windows Phone at Hull

Quite a few students at Hull now have Windows Phones, which is nice. They are also writing games for them and Imagine Cup entries. Which is even nicer. If you are a student at Hull and you want a phone to play with I can lend you one for a little while. This offer is only open to people who turn up at my office and show me some neat stuff on the emulator, and I can’t let you keep the phones (shame) because we need them for teaching later in the semester. However, they should be useful to people who are stuck for a way of testing their program on a real device.

Later this month I’m going to run some “Bring Out Your Living” Windows Phone sessions on Wednesday afternoon where anyone can turn up with a XAP file and we can try them on a device and see what happens.

Oh, and if you want to make your Windows Phone work on the exchange server on campus the settings are:

Server: exfs.adir.hull.ac.uk

Domain: adir

Server Requires Encrypted (SSL) connection: ticked

Find your way to the advanced settings when the standard ones take you there. Use your university username and password and it should all work fine.

Bubblegum for Windows Phone pictures and Good Advice

image

Bubblegum is a new program for Windows Phone 7 (and coming to other platforms they say) that lets you take pictures and share them with your chums on Twitter, Facebook and Foursquare. The application also has some very “hipsteresque” (if that is a proper word) filters that you can apply to the pictures before you send them. These make you look even more artistic and interesting.  As a true artist, I have of course posted a few of my own. My name on Bubblegum is, unsurprisingly, RobMiles it you want to take a look.

The program is free, and fun. It was written by a couple of folks from Microsoft who are also a couple, if you see what I mean. Aarthi Ramamurthy and Sriram Krishnan have done a super job in making a nice little program which does the job with flair and humour. Sriram Krishnan even has a blog. Everyone should read his “Stuff I’ve learned at Microsoft post”. Great stuff.

http://www.sriramkrishnan.com/blog/

Windows Phone Power Packs

image

One of the nice things about a Windows phone is that you can take the battery out and put a replacement in. This is useful if the battery breaks, or runs down. And you can get spares really cheaply. These people are presently selling a pair of batteries and a charger for the unbelievable price of £7.90. I’ve no idea how long they will last, but they seem OK at the moment. For less than the price of a music CD they seem a good deal to me.