idea for student project: emitting Android .dex classfiles directly
Skip to first unread message
Apr 3, 2012, 3:26:08 PM4/3/12
Reply to author
Sign in to reply to author
Sign in to forward
Report message as abuse
Sign in to report message as abuse
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Scala developers targeting Android must bear with an extra build step (jar to dex conversion), given that there's no dedicated backend to replace GenJVM (to directly translate ICode  into dex files).
Two recent developments can simplify the construction of an Android-backend:
(a) ASMDEX  an ASM-based bytecode manipulation framework for DEX bytecode.
(b) an ASM-based version of GenJVM , in connection with the extensive ASM documentation (user guide  and developer docs ).
That's the idea. Disclaimer: I'm in no way an expert in Android development. I just got this idea after contributing to both the GenJVM and GenMSIL Scala backends :)
Quoting from the Abstract: "We generalize the Dalvik instruction set and formalize it using operational semantics based on the Dalvik documentation, inspection of the Dalvik VM source code, and manual testing."