Re: [android-developers] Dynamic class loading - how?

2010-11-02 Thread Mark Murphy
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 w

[android-developers] Dynamic class loading - how?

2010-11-02 Thread moa
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

[android-developers] Dynamic class loading

2008-12-07 Thread Chris Davies
I have an application I want to port from Symbian OS to Android (Well, maybe port is a bit of a strong word, since they would hardly share a line of code in common. "Rewrite" maybe.) However, it really needs to implement dynamically loaded modules to be of any use. In Java proper, this would be tr

[android-developers] Dynamic Class Loading

2008-06-26 Thread Hsun-Cheng Hu
Hi all, Is it possible to load class dynamically from file system or Internet?? I found all classes are pack into a dex file. I had tried to use "URLClassLoader" to load the "dex" file, but it failed. any idea?? Hsun-Cheng Hu --~--~-~--~~~---~--~~ You received