1. They would have to be Dalvik bytecode (e.g., dex files), not JAR files. 2. Running dex files downloaded dynamically from hither or yon, such as the SD card, is just *begging* for somebody to hack your app by replacing your dex file with theirs.
So, I believe it is technically possible, but I would not recommend it unless you're willing to do a lot to ensure you're running the downloaded code that you think you're running. There may be a better solution to whatever problem you think you are solving this way. On Tue, Nov 2, 2010 at 5:41 PM, moa <[email protected]> wrote: > Is it possible to dynamically load classes from a URL into your > application in the same way as a desktop application can? For example, > can you do a simple boot-strap application which you install onto the > device, that boots up loads the main jars required for the > applications from a server, or from a local jar on the SD for example? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- 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

