Generate a Dex file with python or other language
Question
Is it possible to generate dalvik bytecode at runtime using a language such as python, perl or something similar?
Thanks
Solution
I think the best way is to create a smali compatible file and compile it with smali http://code.google.com/p/smali/
OTHER TIPS
Take a look at android-scripting, a toolkit for running Python, Perl, JRuby, Lua, BeanShell, JavaScript, Tcl, and shell.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow