Python for Android | Linux Journal
linuxjournal.com
Python for Android | Linux Journal
1–10 of 14 posts
Re: Python for Android | Linux Journal
#2Just create a directory called pygame on your sd card and put your code in there. No need to mess around with setting up java.
Re: Python for Android | Linux Journal
#3Re: Python for Android | Linux Journal
#4Re: Python for Android | Linux Journal
#5I can totally relate to the statement: "If, like me, you'd rather eat glass than sit down to write some Java code in Eclipse, it would appear that you are out of luck when it comes to implementing your next project on Android." I've been attempting to educate myself about Android development for a side project. Dealing with Java has been an impediment, as my brain seems to grok scripting languages far more easily.
I believe its still under heavy development, but really nice in that mirah can output dalvik bytecode.
Re: Python for Android | Linux Journal
#6For 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...
Re: Python for Android | Linux Journal
#7Re: Python for Android | Linux Journal
#8http://pygame.org also has a pygame subset for android which includes a port of cpython. Not all modules are included though. Some python packages are missing, and some pygame modules are not included too. However it works well enough for most games. 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.
Re: Python for Android | Linux Journal
#9nice
Re: Python for Android | Linux Journal
#10As an aside...does anyone have experience with PhoneGap or Appcelerator? Wondering about experiences with those approaches (both positive and negative).