This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Kawa build.xml patch for Android - SUCCESS


* <craven@gmx.net> [2012-07-03 19:00] writes:

> On a related note, is there any technical reason why a byte-code
> compiler wouldn't work on Android (provided it emitted dalvik vm code
> instead of "normal" java bytecode)?

Android can load dex classes at runtime
http://developer.android.com/reference/dalvik/system/DexClassLoader.html
so it should work in theory.

> Is the specification for the dalvik
> bytecode available?

http://source.android.com/tech/dalvik/dex-format.html but I don't know
if this is an official documentation from Google.  Tho, it's probably
easiest to generate .class files and then pipe them through dx (or
whatever the name of the jvm-to-dex tools is).

Helmut


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]