Comment

Comment by daniel_solano

It is entirely possible to dynamically generate and load DEX files in Dalvik, and it should be possible in ART.

To the best of my knowledge, there are too projects for generating Dex bytecode directly:

1. dexmaker https://code.google.com/p/dexmaker/ 2. ASMDEX http://asm.ow2.org/asmdex-index.html

A different approach, which I used for Clojure/Android, is to generate JVM bytecode and then use a bundled dx tool to generate Dalvik bytecode from that.

parent daniel_solano 12 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton