[android-developers] Re: Dynamic class loading

2008-12-07 Thread Mark Murphy
Chris Davies wrote: > However, it really needs to > implement dynamically loaded modules to be of any use. Could you give us more information about what you are trying to achieve via these "dynamically loaded modules"? There may be other technologies in Android you can leverage, but it is diffi

[android-developers] Re: Dynamic Class Loading

2008-06-30 Thread Hsun-Cheng Hu
Hi Bob, Thanks for your reply. I do find some sample codes about dynamic loading apk by using DexFile and AssetManager. You are right they are all undocumented classes. Dynamic class loading is a good feature in Java. I think they should provide one at the final release. For my current situation,

[android-developers] Re: Dynamic Class Loading

2008-06-27 Thread Bob
On Jun 25, 11:22 pm, Hsun-Cheng Hu <[EMAIL PROTECTED]> wrote: > Hi all, > > Is it possible to load class dynamically from file system or > Internet?? With a bit of work loading from the file system is barely possible. Loading from any other source is not possible in the current public release o

[android-developers] Re: Dynamic Class Loading in Android

2008-03-27 Thread knud
Hey, The key information is found at http://www.osgi.org/blog/2007/11/android-and-osgi.html namely, the classes.dex must be inside a jar file. I jar'd up a classes.dex file and fed it into the code for the osgi class loader (see http://blog.luminis.nl/luminis/entry/osgi_on_google_android_using