I know that we can use customized class loader to load a DEX file. What I would like to know is that is it possible to load multiple DEX files in an application and can we use custom loader for this purpose??
Thanks :)
I know that we can use customized class loader to load a DEX file. What I would like to know is that is it possible to load multiple DEX files in an application and can we use custom loader for this purpose??
Thanks :)
Yes, you can load multiple dex files in an application. As for a custom loader: I don't know. The app I work on uses the dalvik.system.DexFile
class to load a dex file. For each dex file you load, simply keep a different handle to it.