My favorites | Sign in
Project Logo
                
Code license: Apache License 2.0
Labels: Python, Jython, Android, java
Links:
Blogs:
Feeds:
People details
Project owners:
  fuzhiqin, juanzhewudi
Project committers:
liuhuadong78, gasolin, wang.person

Implementation of Jython in Android Dalvik Vitual Machine

For Jythonroid 0.4

the android changed much and that's a fix to make it run in newlest android

you can check the source from the newly branch:

svn checkout http://jythonroid.googlecode.com/svn/branches/Jythonroid jythonroid-read-only

and run it by:

$adb shell

#cd /data/app

#dalvikvm -classpath org.classfoo.apk org.python.util.jython

It will be a easy task if the dalvik is standard jvm, but as we all know dalvik used it's own bytecode format,and jython is designed to makeup jvm byte code to produce python objects, so there is two way to fix this:

the perferct one: rewrite the jython bytecode maker

the bad one as i did: use the dex.jar to translate the bytecode into dex files inside the android

so there are many things to do to get a perfect solution...

have fun









Hosted by Google Code