crisskiamryo / jythonroid

Automatically exported from code.google.com/p/jythonroid
Other
0 stars 0 forks source link

Could we develope jython as a service #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, 
  Thanks your great job for porring jython.
  From the code, you used DexFile to generate apk and load class.
  I think it is not necessary to do this. 
  If develop jython as a service, when run the service all the class will
be loaded by system automaticly?

  Does my understanding is right?

  If you are in China, could you contact me?

  My msn  orient_liu@msn.com
  Thanks. 

Huadong

Original issue reported on code.google.com by liuhuado...@gmail.com on 11 Apr 2008 at 7:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
we will face an problem that the default classloader used in the Activity can 
not
find the jython classes by Class.forName(),so when i tried to run the jython in 
gui
mode, i have to use two threads:one is the JythonServer that provide an service 
for
interpret the python sentence, and the other is the Jythonroid which runs the 
gui.
these two thread communicate via sockets.

Original comment by juanzhew...@gmail.com on 11 Apr 2008 at 4:51

GoogleCodeExporter commented 9 years ago
Thank your reply,
Could we put jythonserver on the service?
The service can be launched when phone boot up.

So we supply two parts,
one is jython service which supply jython interprete function and accept jython 
activity python execute.
another is jython activity, which is the GUI for user.

Original comment by liuhuado...@gmail.com on 14 Apr 2008 at 1:34