Thursday, September 09, 2010

tXtFL on the Android

One of the nice things about Android is that it reads Java code, even if it doesn't exactly run Java programs. I couldn't believe it when tXtFL started up on Android with only a few small hacks to hook it up to the Android graphical toolkit.

Hooking up the database was another ordeal, as the the Apache Derby database that I use in the simulator doesn't run on Android. Fortunately, the Android API does support JDBC, meaning that the main code conversion was switching from one SQL-style syntax to another, with a few additional changes to work around some apparent limitations to the JDBC drivers available for Android. Right now performance isn't pretty, but it works!

Enjoy the first day of season 2010!
Post a Comment