I am using external jar from assets or sdcard in my android application. To do that I am using DexClassLoader.
DexClassLoader cl = new DexClassLoader(dexInternalStoragePath.getAbsolutePath(),
optimizedDexOutputPath.getAbsolutePath(),
null,
getClassLoader());
to load a class :
Class myNewClass = cl.loadClass("com.example.dex.lib.LibraryProvider");
it works really nice but now I want to get list of all classes names in my DexClassLoader
I found this to work in java but there is no such thing in android.
Question is how i can get list of all classes names from DexClassLoader
To list all classes in a .jar file containing a
classes.dexfile you useDexFile, notDexClassLoader, e.g. like this: