Rich Freeman on 23 Nov 2011 18:05:33 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Python on Android


On Wed, Nov 23, 2011 at 5:35 PM, Fred Stluka <fred@bristle.com> wrote:
> Since the *.class files (bytecode) are translated to Dalvik *.dex
> files, wouldn't any *.class files work, whether they were generated
> by Java or any other language that generates JVM bytecodes?

Keep in mind that the Java class libraries aren't available (as far as
I'm aware), so you are fairly unlikely to have any .class files lying
around that will work on an Android system even with translation to
the dalvik bytecodes.  In fact, such a class couldn't actually do
anything since any kind of IO requires using the standard libraries.

Google didn't want to try to license Java so they basically avoided
anything they hold copyright on.

Rich
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug