I am creating a component application for Android. In short, I would like to download the APK file at runtime and execute the code from it.
I have successfully used DexClassLoader to load and instantiate some classes, the problem is reading the APK resources.
I would like to create a custom Context object that I could use to load these resources (for example, with an instance of LayoutInflater ), similar to createPackageContext() , which does not work for my application, since it is only looking at installed packages.
Donatien
source share