Python for Android | Linux Journal
linuxjournal.com
linuxjournal.com
For those who, as did I, say "that's stupid! you have to install the Python for Android APK on the target device!", see http://code.google.com/p/android-scripting/wiki/SharingScrip...
I believe its still under heavy development, but really nice in that mirah can output dalvik bytecode.
Just create a directory called pygame on your sd card and put your code in there. No need to mess around with setting up java.
SL4A is still the way to go if you want access to a significant portion of the Android API, though.
As an aside...does anyone have experience with PhoneGap or Appcelerator? Wondering about experiences with those approaches (both positive and negative).
I've also heard of people having success using Mirah to write Android apps. The syntax is very similar to Ruby, so it will be comfortable for you. It compiles to a straight Java class with no runtime dependencies, so you don't get the performance hit you run into with Ruboto.
i = 0
while i < 10
...code...
i += 1
end
There's no for loop? I couldn't confirm because I didn't find a manual.http://texaslinuxfest.org/sessions/decaffeinated-robot-devel...
http://www.deepbluelambda.org/events/live/decaffeinated-robo...
There are some comparisons of code size for the different languages and environments. That was probably the most informative talk I attended at the Linux Fest.