Re: [android-developers] Dynamically loading code in Android application
On Sun, Sep 11, 2011 at 3:35 PM, Raffaele Sgarro
<raffaelesgarro@gmail.com> wrote:
> Is it possible to run code downloaded ar runtime? Something like
> new URLClassLoader(myURL).loadClass("MyClassName")
> The class code will be in a JAR archive. The question is how do I compile
> and package that code? I think Dalvik cannot executes plain Java bytecode,
> so I'll have to postprocess the JAR with dx tool. Is is right? But
> unfortunately dx is not documented, so I really need more information on
> this topic
>
http://developer.android.com/reference/dalvik/system/DexClassLoader.html
???
Kris
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home