Archive for May, 2010

Alternative technologies on the Nokia N900

Friday, May 14th, 2010

Hello, all.  I’ve been on holiday in darkest Cornwall this week, but nevertheless there has been a soupcon of time for adventures in the world of the mobile technology.  Just wanted to quickly share the results here, partly to show what a flexible beast the N900 really is.

First up – with the help of another enthusiatic coder – here’s a couple of (admittedly as yet unexciting) proof-of-concept applications running under the OpenLazarus (that’s Pascal/Delphi for people old/mad enough to remember) framework for Maemo 5.  I didn’t do much but test and run these, so here’s the results:

OpenLazarus app running on Maemo 5 using standard widgets

OpenLazarus app running under Maemo 5 using Custom Widgets

…and then there’s what I’ve been fiddling with.  Thanks to the frankly magnificent Wonko from the forums, we have a working Java/SWT stack for the phone.  That means that my ShinySlots project can run out of the box and look like this:

You can see that the forced window-size has exposed my slightly-cheating repeating background, and sadly it’s not that performant at the moment, but it works as advertised, and improvements are in hand…

DownTheTubes is alive!

Sunday, May 2nd, 2010

DownTheTubes has been sitting on the backburner for a while, until out of the blue Nokia released the Qt SDK Beta.  This replaces the pile of libraries, development environments and MADDE (on various levels, but in a good way) virtual machines lying around my hard-drive, squishing them all together into an environment for writing things for that sparkly Nokia N900 that I’m still not at all bored of.  The prospect of being able do so sensibly under Windows without having to use Python or GTK is nice, though my current blood pressure belies how my C++ skills have waned a bit over the years.  (Can I have my managed languages back?  Pretty please?)

Still: dogged persistence, luck and some mild swearing cobbled together the following:

So, this is DownTheTubes rejigged to work in the new SDK, and running in the “Device Simulator”.  The simulator doesn’t simulate the actual OS, hence the incorrect title and the scrollbars which won’t be there in the actual N900 version (that map is finger-scrollable, y’see.)   Still, work can begin again, although I can’t do any performance testing until PR1.2 is released.  The main thing at the moment is that hoofing a massive bitmap around the screen is rather hard on the processor, though I think I’ve worked around that now.

DownTheTubes can be found on Shinypixel Labs too.