I am trying to understand if I can dynamically reload an existing class / load in a new class in the Dalvik vm running on Android. Searching online gives me a few mixed answers:
What can you not do on the Dalvik VM (Android's VM) that you can in Sun VM?
How to load a Java class dynamically on android/dalvik?
http://android-developers.blogspot.com/2011/07/custom-class-loading-in-dalvik.html
http://larshamren.blogspot.com/2012/02/android-dynamically-loading-classes.html
Can someone confirm if it is possible to do so on Android? And does it work the exact same way as Sun's vm, maybe except that Dalvik loads in .dex files and they need to be packaged in a jar? Is there any limitation on the Android platform for doing class loading? If there is official Dalvik documentation regarding this that would be great.