[null, {"document_url": "http://davematthew.blogspot.com/2010/09/txtfl-on-android.html", "unformatted_src": "http://1.bp.blogspot.com/_ErBxpm2DTEQ/TImaFxBDC1I/AAAAAAAACLQ/m0s0cc9I_Ic/s320/FirstRun5.png", "src": "http://1.bp.blogspot.com/_ErBxpm2DTEQ/TImaFxBDC1I/AAAAAAAACLQ/m0s0cc9I_Ic/s320/FirstRun5.png", "formatted_filename": "FirstRun", "rendered_width": 320, "rendered_height": 268}, null, null, null, null, null, null, {"document_url": "http://davematthew.blogspot.com/2010/09/txtfl-on-android.html", "unformatted_src": "//lh4.googleusercontent.com/-uVyzba0WuDc/AAAAAAAAAAI/AAAAAAAACxY/0wRqEy5fs8Y/s80-c/photo.jpg", "src": "http://lh4.googleusercontent.com/-uVyzba0WuDc/AAAAAAAAAAI/AAAAAAAACxY/0wRqEy5fs8Y/s80-c/photo.jpg", "formatted_filename": "photo", "alt_text": "My photo", "rendered_width": 80, "rendered_height": 80}, null]
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!
Posted by David Young at 8:11 PM Labels: Android, programming, txtfl
 Notable Quotable David Young
