Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generate a Dex file with python or other language

Tags:

python

dalvik

dex

Is it possible to generate dalvik bytecode at runtime using a language such as python, perl or something similar?

Thanks

like image 495
Sergio Avatar asked Nov 06 '22 02:11

Sergio


1 Answers

I think the best way is to create a smali compatible file and compile it with smali http://code.google.com/p/smali/

like image 161
Xavier Combelle Avatar answered Nov 12 '22 13:11

Xavier Combelle