MIDP Woes, AppleScript Goodies

As a sort of follow-up to my at getting a complete Symbian toolchain for , I’ve spent most of the day fiddling around with , believing (quite erroneously) that it would somehow be easier.

I set myself a simple goal: to compile one of the sample midlets I had found of some interest and then (maybe) port it to my – yes, you read that right: port. has their own MIDP, which enables proprietary functionality (i.e., all the interesting stuff you want but the standard profile doesn’t contemplate because it’s limited as hell…).

So I went and got Michael Powers’ MIDP for OS X stuff and the Concept SDK for the 6230, which is the most up-to date SDK. I decided to try the Series 40 stuff because I plan to take a closer look at those phones, now that I’m starting to find the Series 60 a bit too much. Besides, Series 40 phones probably outsell Series 60 phones by three to one or so, which makes them a nice development target as far as mobile phones are concerned.

Interestingly enough, the SDK installs in (in fact, I ran the installation on my machine over X11 at the same time, and save for the installer crashing on if I attempted to pick a different installation folder, everything worked just the same). I am still going through the bits and setting CLASSPATH this way and that to get the midlet to compile, but so far it looks doable.

What feels like a huge waste, however, is the amount of things that could be working but were clearly only tested in – and the emulator is the worst one, in the sense that it almost works.

It would probably only have taken a few little tweaks, since the bare skeleton runs in : it displays a preferences dialog, tries to invoke the midp binary (which I replaced with Michael’s) and looks like it ought to run the midlets properly, but goes into a loop and eventually dies. Interestingly enough, in I actually get two displays: a -skinned one drawn by the runtimes and a “generic” X11 emulator (which makes me wonder what its internals were carved out of…)

Oh well… Anyway, while taking a break to download photos from my camera, I ended up learning some and writing a new , which is definitely going to save me some time. Enjoy.

This page is referenced in: