Re: [android-developers] Dynamically loading a jar file at runtime

2012-06-11 Thread Kristopher Micinski
On Tue, Jun 12, 2012 at 1:00 AM, Reddy wrote: > Hi Kristopher Micinski, > > can u please explain me how i can do this using DexClassLoader. > The usecase is like this. > 1. Jar files contains some encryption/decryption algorithms. > 2. Algorithms should not present in the application. > 3. Need to

Re: [android-developers] Dynamically loading a jar file at runtime

2012-06-11 Thread Reddy
*Hi Kristopher Micinski, can u please explain me how i can do this using DexClassLoader. The usecase is like this. 1. Jar files contains some encryption/decryption algorithms. 2. Algorithms should not present in the application. 3. Need to download at runtime and use it to complete the process.

Re: [android-developers] Dynamically loading a jar file at runtime

2012-06-11 Thread Kristopher Micinski
That's right, this is currently a bad idea for security reasons... What do you want to do? That might inform more about what you should be doing, and perhaps we can give some advice as to a possible compromise.. (This is possible, using a DexClassLoader, though at the current time you should alm

Re: [android-developers] Dynamically loading a jar file at runtime

2012-06-11 Thread TreKing
On Mon, Jun 11, 2012 at 2:11 AM, Reddy wrote: > I have a requirement that i need to download a jar file dynamically at > runtime and use a function present in the jar. > I would expect that this would not be possible, for what should be obvious security concerns. ---

[android-developers] Dynamically loading a jar file at runtime

2012-06-11 Thread Reddy
Hi, I have a requirement that i need to download a jar file dynamically at runtime and use a function present in the jar. So please guide me how can i achieve this, any code reference would be great use. Thanks in advance. Regards, Murali -- You received this message because you are subsc

[android-developers] Dynamically loading a jar file at runtime

2012-06-11 Thread Reddy
Hi, I have a requirement that i need to download a jar file dynamically at runtime and use a function present in the jar. So please guide me how can i achieve this, any code reference would be great use. Thanks in advance. Regards, Murali -- You received this message because you are subsc

[android-developers] Dynamically loading a jar file at runtime

2012-06-11 Thread Reddy
Hi, I have a requirement that i need to download a jar file dynamically at runtime and use a function present in the jar. So please guide me how can i achieve this, any code reference would be great use. Thanks in advance. Regards, Murali -- You received this message because you are subscribed

[android-developers] Dynamically loading a .jar file at Runtime

2009-03-18 Thread Asif k
Hi all, I am storing the required test.jar file in the /sdcard. I want to load it dynamically at runtime and want to execute a function xyz() resides in that. For this purpose I had written following code , But got ClassCastException : dalvik.system.PathClassLoader Following is my code ,