Fellow Android Developers,

To minimize the size of the application and to inject services to an
Andriod Application on demand - I have parts of my application
implemented as a libraries. I would like to download one or more
libraries on demand from a trusted server and run them as part of the
application.

The first thing I did is to use the URLClassLoader with the URL to the
trusted server and tried to load android library (packaged as a .apk
file) and to located classes inside them. This did not succeed -
the .apk file was downloaded from the server, but failed to find the
class in that file.

dalvik.system.DexClassLoader and dalvik.system.PathClassLoader can
only load files from the local file system on the device.

Have any of you run into this scenario? Your assistance is
appreciated.

Thanks in advance.

Best Regards,
Sidda

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to