News for hackers. Stuff that matters.
Re:Python for Android | Linux Journal by CoffeeDregs on Saturday April 23, 2011 @12:34PM (#2477085)
An important bit of TL;DR:

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...

Re:Python for Android | Linux Journal by mctavjb9 on Saturday April 23, 2011 @11:21AM (#2476954)
I 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.
Re:Python for Android | Linux Journal by rnicholson on Saturday April 23, 2011 @11:49AM (#2477009)
If its a less verbose language that you are looking for, you might want to checkout mirah (and pindah) -- https://github.com/mirah

I believe its still under heavy development, but really nice in that mirah can output dalvik bytecode.

Re:Python for Android | Linux Journal by illumen on Saturday April 23, 2011 @10:08AM (#2476834)
http://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.

Re:Python for Android | Linux Journal by pkdawson on Saturday April 23, 2011 @01:25PM (#2477171)
Stay tuned, we're nearly finished with a release that includes Python 2.7.1 and various other goodies.

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 by fingerprinter on Saturday April 23, 2011 @07:15PM (#2477829)
Does anyone know if it is possible to write JRuby android applications? It would seem a natural fit given Java etc etc. I do relate to the comment ""If, like me, you'd rather eat glass than sit down to write some Java code" so I have been looking for a better way to do it. Though, I have lately resigned myself to the fact that I may well have to write Java again...

As an aside...does anyone have experience with PhoneGap or Appcelerator? Wondering about experiences with those approaches (both positive and negative).

Re:Python for Android | Linux Journal by rpeden on Saturday April 23, 2011 @10:29PM (#2478142)
You might want to check out Ruboto. I haven't used it yet, but it seems to allow you to do exactly what you want, i.e. write full Android apps using JRuby. I've heard there's a significant performance penalty, though.

http://ruboto.org/

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.

http://www.mirah.org/

Re:Python for Android | Linux Journal by imd on Sunday April 24, 2011 @03:51PM (#2479481)
WTF? In the Mirah examples, I see a bunch of

  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.
Re:Python for Android | Linux Journal by soamv on Saturday April 23, 2011 @10:27PM (#2478139)
Check out ruboto-core at http://ruboto.org/
Re:Python for Android | Linux Journal by RobGR on Sunday April 24, 2011 @12:33PM (#2479105)
At the Texas Linux Fest, there was a great talk that reviewed non-Java ways of programming on Android:

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.

Re:Python for Android | Linux Journal by xudir on Saturday April 23, 2011 @01:22PM (#2477164)
nice
Re:Python for Android | Linux Journal by drx on Saturday April 23, 2011 @06:13PM (#2477722)
You are being downvoted because your comment adds nothing to the conversation.