[semi OT]: Smartphones and Python?

Grant Edwards invalid at invalid.invalid
Thu Feb 16 12:50:11 EST 2012


On 2012-02-16, Grant Edwards <invalid at invalid.invalid> wrote:
> On 2012-02-16, Michael Torrie <torriem at gmail.com> wrote:
>
>> You claimed Jython is or will be available on Android. It's not and
>> Jython isn't being ported to Dalvik and it has nothing to do with
>> patents.  Android might use java a language, but the virtual machines
>> are very different.  And no expired patents are going to change that
>> fact.  Android simply isn't going to run the JVM anytime soon.
>
> I got curious about Dalvik, and was looking at the Wikipedia page,
> where it says that programs for Android are compiled into bytecode in
> JVM compatible .class files.  Those files are then converted into
> .dex files to run on Davlik.
>
> I don't know much at all about Jython, but if it generates JVM byte
> code, mightn't the same conversion to .dex be applicable?

Apparently there was a project to do just that:

  http://code.google.com/p/jythonroid/

But it's been abandonded in favor of SL4A, which offers a 
PythonForAndroid_r4.apk download.  There's a book about Python on
Android via SL4A called _Pro_Android_Python_with_SL4A_.

  http://www.apress.com/9781430235699

Interesting...
  
-- 
Grant Edwards               grant.b.edwards        Yow! World War III?
                                  at               No thanks!
                              gmail.com            



More information about the Python-list mailing list