lundi 5 septembre 2016

Android - dynamically load class into memory

DexClassLoader is great but works only by loading the compiled class as dex/jar file from the internal/external storage.

How can I load class directly into memory, without writing anything to the card first?

I am aware of the Java-Runtime-Compiler (compiles String to Class on-the-fly) from Peter Lawrey, which would be perfect, but it does not work in android.





Aucun commentaire:

Enregistrer un commentaire