Angry Birds Star Wars

Untitled

They seem to be slapping the Star Wars brand onto just about everything these days. We’ve got Yoda selling mobile phones (for YodaPhone – that can’t be a coincidence) and various other droids going round Currys making eyes at washing machines etc.

And now we have the franchise extending to Angry Birds. Getting into the game only cost me 79 pence on my Windows Phone (although you can of course spend more) and I spent the money thinking that worst case it was the kind of outlay that I could walk away from. The good news though is that the game is really rather good. They have the genuine sound effects and you can use the Jedi force and light sabre to good effect in some levels. Well worth the price, and a lot nicer than I expected.

Windows Phone 8 SDK Now Out

image

Along with the release of Windows Phone 8, the Windows Phone 8 SDK is now available for free download. You can get it from here. With this you can create applications for the new Windows 8 devices and use lots of yummy new features. And they are yummy. I’m using a couple of them in a “groundbreaking new application” that I’m working on in top secret. It’s so secret that I’m only allowing myself to see every other character of the code. And no, the groundbreaking part is not that you can use it as a shovel.

Mild health warning.

You will need Windows 8 64 bit version to run the Windows Phone 8 SDK. Since the phone actually runs bits of Windows 8 this is quite understandable. The emulator also requires a processor that provides Second Level Address Translation or SLAT. No, I’ve no idea what that really means either, but I’m happy to nod and smile whenever it is mentioned. The bottom line is that if you have a processor with an i in the name, for example i3, i5 or i7 then you will be fine. If you have an older processor this might mean that you can’t run the emulator. You’ll also need to enable Hyper-V on your system, which sounds like something Captain Kirk would ask for, but actually is to do with the processor virtualisation that is now used for proper emulation. Of course, if all this fails you should be able to deploy and debug inside that Lumia 920 you are going to rush out and buy (but not before I’ve got mine). There is help on the download site about all this. There are also versions for Windows 7.1 development. And now, if you’ll excuse me, I’ve got some downloading to do…

Phone Home

image

A student brought me a mobile phone which they found in the lecture today. It was an Android device with a lock screen. I couldn’t do much with it, so I just took it home and waited for it to ring. The first few seconds of the call were interesting as I was a bit worried that the caller might think they were talking to a phone thief and that outside a SWAT team were waiting to burst through the door, spray the room with bullets and prise the phone from my dead and broken fingers.

Perhaps I’ve been watching too much Person of Interest.

Anyhoo, names were exchanged and with a bit of luck they’ll get their phone back tomorrow. One way we could have avoided this would be if the owner had put contact details on their lock screen, so that I would have known who to call. This is not hard to do but it is fiddly, because you have to edit the background image and add the text, and if you change the background picture you have to do it all again.

Of course if it had been a Windows Phone they could have just installed the Lost Phone app on their device, which does all the hard work for them.

This is also a very interesting application because the author, Scott Hanselman, wrote version 1.0 in six hours and also produced a really good blog post about the process and described some good practice when you are writing Windows Phone applications.

Hull to get 4G Phone Coverage

image

I don’t often shout “Yay!” while I’m watching BBC Look North. But today I did. They announced that Hull is one of the 16 cities in the UK that will be getting 4G network coverage before Christmas, courtesy of the phone network EE, which is being set up out of the merged Orange and T-Mobile networks. The news is even better for me, because the new Nokia phone that I’m presently coveting, the Lumia 920, has LTE support and should work on this new, superfast network.  So, Yay! indeed.

Windows Phone Game Action

imageimage

These are a couple of games that our students have made over the summer. Robocleaner is a development of the Sweepy Cleaner coursework from Alex Rogers (I’ve actually bought that one and it is fun). Not tried Pigs Might Fly yet, but it is worth a look just for the artwork.  Click on the image to go through to the Windows Phone page for the application. You can even buy and deploy the program straight from the web if you fancy it.

I’m compiling a page of “Stuff wot folks from Hull made”, so if you have something you’d like me to mention, send me an email (you know the address) and I’ll put something together.

Charlie Kindel on the Future of Mobile

image

Charlie Kindel is one of the people who helped bring Windows Phone together. A long standing Microsoft veteran he was part of the team that got a working device out of the door in record time and built the solid foundations for things like the spiffy new Windows 8 phones that Nokia announced earlier this week (I want a yellow Lumia 920).

A year or so ago Charlie couldn’t resist the temptation to find out what life was like outside Microsoft and now develops his own products and works with startups. He has a blog that is well worth reading.  A few weeks ago he gave a presentation on the future of mobile computing. I watched it over a lunch break and I reckon you should to. It give a nice insight into how the mobile business works, but it is also worth watching for the insights into how all technology products get sold and how you need to think about the ecosystem when you make anything.

A Career in Windows Phone Programming

image
I’m not saying you can reach the dizzy heights of accomplishment reflected by a product such as Cheese Lander, but you can try….

Last week I got a tweet “i am electrical engineer and wanna start a career in windows phone programming. any advice ?! “.

I’ve been thinking about this for a while, and this is my advice, for what it is worth.

Get the Free Tools

Head over to http://create.msdn.com/ and grab the Windows Phone SDK. It is a free download and will give you everything you need to get started.

Get a Windows Phone

You can write programs without needing a real device, but for the proper experience you really need some hardware I’m afraid. The good news is that with all the shiny new Nokia devices coming along, lots of people are moving up in the Windows Phone world and so there is a good supply second hand devices at very good prices. As far as I’m aware, all of the older phones can be upgraded to the latest version of the software and so you can perform Windows Phone development on one of the first generation devices. If you can find a second hand Omnia 7 device that would be a good one to start with.

You might have noticed that Windows Phone 8 is just around the corner, and may be thinking about holding off for this. I’m not sure that this would be a good move though. Whatever you do, there is always another version coming along and the skills that you pick up on Windows 7 will transfer over to Windows 8 when the time comes.

Decide whether you are writing games or applications

If you want to write games you can think about using XNA. Unfortunately the future of this platform is a bit more hazy than I’d like, but as a quick way of getting into writing silly games (like Cheese Lander) then it is very hard to beat. If you are getting started and want to write some useful and fun stuff I think I’d go for the Silverlight approach at the moment. This will make it easy to move into the XAML based environments on Windows Metro and Windows Phone 8. It is also getting increasingly viable as a casual gaming platform.

Get the Free Documents

If you have never programmed before you could read my C# Yellow Book. This will give you a good grounding in programming.  You can find out about Windows Phone programming from my Windows Phone Blue Book, which is available from the same place. There is also a ton of free stuff on the http://create.msdn.com/ site that you can use.

Find a Problem to Solve

Coding in a vacuum is very hard. It is much easier to learn how to write a program if you have something specific to achieve. As your background is electronics I’d try to think of a simple problem (for example a resistor colour codes calculator) which you could write a program to solve and then have a go at coding that.

Use the Forums in the Right Way

There are lots of forums out there with people who are more than happy to help. However, they hate it when someone posts a problem like “I’ve got to do X. Where do I start?”. This kind of post sounds like someone is asking the forum to do some work for them. A much better post is something like “I’ve got to do X. Is Y a good approach to do this?” or even better “Why does this code not work?”. This shows that you have thought about the problem and done something before putting it out there. And as soon as you know something, start posting sensible replies to other post questions, so you give back to the system.

Blog what you do

I’m assuming that you are doing this as a way of getting employment. If this is the case (and even if it isn’t) you should start a blog about your progress. In the blog you can put what you learn (so you don’t forget it) and chart your progress. Potential employers are very impressed by people who are constructive and resilient. A regular blog will be something you can point them at to which will show how you have progressed. Keep the focus on the technology you have learned, and how you have applied it. You never know, you might find other people following what you do and learning from you. Regular blogging is also a great way to build your writing skills, which are also very useful for getting work.

Enjoy it

Learning to program is hard work. The most important thing about success is persistence.  Focus on getting little things to work and then building on them. Don’t have a huge, grand, idea and then get upset with yourself when you can’t realise it. This is the most common reason for people giving up on programming.

If you find yourself getting bogged down or stuck on a problem remember that you can always simplify your solution and just focus on one small part. With a bit of luck you will get a little buzz when you get something to work, and a bigger buzz when someone looks at your program and says “How did you do that?” and that will motivate you to do more. Good luck.

Hull CS Blogs Application Now Live

image

If you are a fan of Hull Computer Science Blogs and have a Windows Phone then your life just got even better. Danny Brown has just made a Windows Phone application that provides ready access to all posts on the site, along with Microsoft Marketplace applications published by Hull students, RSS feeds and all sorts. It’s a free download, works a treat and you can get it from the markeplace here.

Windows Phone 8 Summit

 

image
Coming to a Windows 8 Phone near you….

Hot on the heels of the Windows Surface announcement, today we had the Windows Phone Summit “sneak peek” at the next generation of Windows Phone. I must admit it looks very nice. Windows 8 phones will be based on the same operating system technology that powers Windows 8. They will be able to sport multiple processors and share driver technology with their bigger brother. They will be able to use Near Field Communication to exchange data with other devices, including Microsoft Surface. Programmers will be able to write games (and other programs) which will be compiled into fast running binary code that executes directly on the processor, with graphics powered by DirectX. There will be support for more screen resolutions. You will be able to upgrade the storage using an SD card. Operating system updates will be sent directly to the phone. And the Start Menu is going to get a bit bigger.

One piece of less good news, for me at any rate. Existing phones will not be upgraded. My lovely Lumia 900 will always be a Windows 7 phone. I can live with that though. When Nissan bring out a new version of the Cube I’m not expecting them to provide a way for me to upgrade my car for free. And actually I love my Cube just the way it is. A new version of Windows Phone 7, version 7.8 (where do they get these numbers from?) will bring some of the UI enhancements to existing devices, which will be nice.

It looks like all my XNA and Silverlight skills will still serve me on the new platform as well as the old one and I can still continue to make a fortune via sales of Cheese Lander on the new device…

All things considered it looks like the phone is on a very good trajectory.

Phones 4 U Do Customer Service

IMG_1074-Edit.jpg

 

I rang my dad last night. Mentioned my new phone, as you do. “I can’t understand you.” he said. “It’s simple”, I explained, before going into great detail about the complex financing infrastructure that I had carefully put in place so that he would appreciate that I was not being profligate with money and was putting into place all those rules of fiscal good behaviour that he had taught me. “No” he replied “I can’t understand what you are saying, your voice is distorted”.

I rang myself up (one good reason for having a landline). He was quite right. I couldn’t understand me either. Turns out that my lovely Lumia 900 is brilliant at everything except making phone calls. If you turn the volume up during a call then the sound gets progressively more broken up until you hit the level 7, at which point you sound like a dalek with a bad cold. Oh dear. It looks like it is a problem with the noise cancelling part of the device picking up sound from the speaker and trying to cancel it, and then getting stuck in a loop. Whatever it was, not good. From the posts on the Nokia forums there are a few folks having this problem. While I can solve the problem by not turning the volume above 7 I’m not particularly happy with this solution, the worst thing being that I sound fine to me, it is just the person at the other end that can’t hear anything sensible.

So this lunchtime it was off down to Phones 4 U in Princes Quay, where I bought it. Fortunately the problem is really easy to demonstrate, and they were happy to make a swap for a working device. They were very good about this, and so I was left with just one more problem to solve. On Saturday I’d linked my Zune Pass to my new phone (mainly so I could get the new Garbage album onto it). You are only allowed to change your Zune Pass devices once a month, and so I was worried that I’d have to wait another 28 days before I could carry Shirley Manson et all around with me again. Not so. Zune support has an interactive chat mode that works very well. Rather than hanging around on call waiting you just wait for the message window to open and then type in your question. Up and sorted within five minutes.

I’m a bit sad that I lost a lunch-hour sorting out a problem that should not have arisen. But I’m very pleased that Phones 4 U and the Zune people responded so quickly and constructively.  Marks and Spencer could learn from them.

Nokia Lumia 900

lumia 900

The guy serving me in the chip shop on Friday caught a glimpse of my Lumia 800. “Good phone that.” he observed. “A mate’s got one. My iPhone is up for renewal soon and so I thought I’d get one as well”. Smooth move.

I really like my Lumia 800. The latest update has removed the only real issue I had with it, the battery life is now excellent. Of course, I’m selling mine now. On Saturday I went up town to not look at, and definitely not buy, the new Nokia 900. Which you can get in White at Phones4U. So I didn’t go in. And I didn’t look at it. And I definitely didn’t want one. But then…..

Having done all the maths and looked up the price on ebay of Lumia 800’s I concluded that if I sold my old iPhone (which I’ve been keeping for mainly sentimental reasons) and my Samsung Omnia 7 plus a few other bits and bobs I could run out even on the deal if I bought an unlocked device. Particularly as the chap in the shop uttered the magic phrase “It does tethering”. This means I can use the phone as a WIFI access point for any other devices that want to talk to the internets on the move. Tethering is promised for the Lumia 800, but my reasoning here is that it is not guaranteed that all carriers will enable it. However, if I have an unlocked device I can just turn it on and it will work. Which I have, and it does.

There is nothing wrong with my Lumia 800 at all. All the problems are with my eyes and fingers. I find the screen just a tiny bit too small to read easily and the keyboard is just a bit too tiny for my lanky fingers to find their way around. It is on eBay at the moment and I’ve had some expressions of interest already.

Changing phones was not too bad. Microsoft Exchange made sure that my address book moved over with no problem. All the pictures from the phone are already on Skydrive. The only real problem is that I’ve lost all my SMS conversations, but I can live with that. The Lumia 900 is properly lovely. I might even show it to the bloke in the chip shop.

Weather Flow for Windows Phone

 

image

There are loads of weather applications for Windows Phone. Today, on a whim, I bought one. Weather Flow looks lovely. It also has really nice Live Tiles. There are only two things I don’t like about it. It can be a tad slow to find the weather information (although nothing terrible) and it doesn’t have exactly where I live on its list of locations.  Worth a look though.

Windows Phone 7.1.1 Update

P1040004.jpg

This has nothing to do with Windows Phone. It is the charming bird that wakes us up every morning by singing loudly at around 5:00am and then goes back to sleep. Which is more than we do…

If you are a Windows Phone developer you should install the Windows Phone SDK 7.1.1 upgrade. This has been out a couple of weeks or so (and I really should have mentioned it earlier). It has some bug fixes, lets you target the new versions of the Windows Phone platform and, perhaps most importantly, it runs under Windows 8. I’m using it on my little portable machine for demos and stuff and it works a treat.

Make TouchDevelop apps and put them in Windows Phone Marketplace

image

One of the many neat things that I saw at SIGCSE last week was TouchDevelop. This lets you write Windows Phone programs on your Windows Phone. The programming language and the user interface have been carefully crafted to work on a small handheld platform. If you have done a bit of programming already you should have no problem creating simple scripts to do all manner of interesting things. There’s even a simple sprite engine with physics support for game creation. There’s a free book about it that you can download.

It’s early days yet, but the developers of the environment have just taken a massive step towards making the platform into a genuinely useful place to create things. They’ve made it possible to publish your TouchDevelop scripts in the Windows Phone Marketplace. Up until now you could spread your scripts around to other phone owners, but only via the TouchDevelop phone application. Now you can distribute your TouchDevelop applications and games to the entire Windows Phone owning world. This means you could get on a bus with nothing but your Windows Phone and a good idea. And then get off the bus three hours later with a completed application which is ready for sale. Amazing stuff.

Find out more here.

Lumia 800 Battery Life Tips

DSCF6296__.jpg

When I first got my Lumia 800 I did some tweaks to improve battery life. I’ve just passed them on to a fellow owner, and they helped for him too, and so I thought I’d blog them (mainly so I don’t forget myself)

I turned off “Synchronise game requests” on the Game settings and “Notify me when new networks are found” from the WiFi settings. I also set “Download new content” to 30 minutes on both my email inboxes. I configured the Kindle application to display text as white on a black background, this makes a big difference to the consumption on the OLED display.

With these settings, which don’t cause me any inconvenience at all I can get a day of use out of the phone with enough left to limp through a second day on battery saver mode if I forget to charge the phone overnight.

XNA Windows Phone Theme Library

image

Danny, one of our First Year students, is hard at work on his First Year programming coursework. This year the game is “Sweepy Cleaner”, an XNA game where you get to control a robot vacuum. I’ve even bought the domain name.

Danny made a version of Evil Squash last year for Windows Phone and he is now building a Sweepy Cleaner for the phone as well. And he has discovered that:

  1. It is nice if a game has the same colour theme as the ones set for the phone by the user.
  2. It is hard to get these colours from an XNA game

So he has written a little bit of code to get this information into a game, and released it as a dll that any XNA developer can use. Which is nice. You can find it here.

Final Tech Days Session Fun

Final Audience.jpg

This is the last shot of an audience for a while. Unless I decide to take a picture of the students at the C# lecture on Monday…

Did my final Windows Phone session today, just a few hours after I’d finished the Kinect one. I’d been assigned the “World Forum” theatre, which as you can see is pretty large. But there were enough folks there to make it look fairly full, and they were a great audience. A 75 minute session is quite a long time. I’ve been to shorter movies. Thank you all for paying attention and staying awake, in spite of the session being directly after lunch…