Join the Talk | 59,182 members - 248,364 posts Advertise | Have a scoop? Tip us!

Android running Python, still a little rough

30 December 2008 by Staff Editor


Worth Reading?

NoYes

+5 [5 votes]


A lot of people are getting into development mode and really tearing into their T-Mobile G1, but developing in Java doesn’t seem to suit just anyone these days. For those open source fanatics out there who prefer Python to Java have we got a treat for you.

Damon over at damonkohler.com has managed to install Python on his G1 with the help of his friends Manuel and Thomas. As you can imagine this is still a bit rough around the edges, but will only get better with time. It sure is exciting to see what users are coming up with when they tear into their G1.

Here’s an early Christmas present for all those Python fanatics (self included) out there! With a lot of help from my friends (thanks Manuel and Thomas!) I managed to install Python 2.4.5 on my G1. It’s still rough around the edges, but I think it’s a good start. Klaus Reimer has a nice overview of how to cross-compile Python. My instructions borrow a lot from his.

This method is not for anyone however. Only those who know how to apply patches and compile code should attempt this method as it does have its risks.

  1. An early Christmas present? Its 12/30! Still, pretty cool.
  2. its an early christmas present for 2009! yay that was rly early!
  3. Looks like they compiled it natively, which is great. However, what they did is by far the easiest part of the whole business. Because now they have to write Python bindings for the Android API. Not that it's such a huge API, but this is going to be quite a challenge just the same.

    Without Android bindings, there's very little point - you can run Python console apps, and there isn't even a console on which end users can see them run. :-)
  4. Hm... interesting. I guess I'll be trying this sometime soon... I hope they get the Android API in there =p

Android Phone Accessories


T-Mobile G1 Accessories
Palm Pre Accessories
iPod Touch Accessories
Advertise with SlashGear
Free Tech Support at SlashGear Forums

© 2008 Android Community. Part of R3 Media Network

Contact | Advertising | About Us