Search code examples
androidbytecodedalvikbytecode-manipulation

Is it possible to inject code in an android application?


I would like to inject code in an android application at runtime. I have tried to use dx tool to generate a dexfile in the sdcard but when i want to instantiate, it fails. Are there any tools to inject code generating new dalvik bytecode? I am studing some libraries, aspecjt or guice for android. Is it better to work with a script language?

Thanks people :)


Solution

  • No, it is not possible. Android application permissions would not work if that was possible.