Thanks for your reply, but my question was more about how to get the DEX file without Eclipse, since typically my JAR will contain a couple of classes and resource files
2011/9/12 Kristopher Micinski <krismicin...@gmail.com> > On Sun, Sep 11, 2011 at 3:35 PM, Raffaele Sgarro > <raffaelesga...@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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en