Re: [android-developers] Network Class Loader

2013-01-08 Thread Kristopher Micinski
This should be the relevant information, should you want to go ahead with this idea: http://android-developers.blogspot.com/2011/07/custom-class-loading-in-dalvik.html Kris On Tue, Jan 8, 2013 at 3:45 PM, Kevin Duffey wrote: > Agreed Kris.. but with the absence of URLClassLoader, I was just cur

Re: [android-developers] Network Class Loader

2013-01-08 Thread Kevin Duffey
Agreed Kris.. but with the absence of URLClassLoader, I was just curious if you could download a class and load it with this approach. I would not want to load code like this either on a phone given the multitude ways it could crash the phone.. and make your app look bad. On Tue, Jan 8, 2013 at

Re: [android-developers] Network Class Loader

2013-01-08 Thread Kristopher Micinski
You really don't want to do this, it won't work (because Dalvik is not something that takes a jar) and is horrible security practice. In general, you should always be very skeptical when you run code you got from somewhere else: big security problems pop up. Kris On Tue, Jan 8, 2013 at 2:10 PM,

Re: [android-developers] Network Class Loader

2013-01-08 Thread Kevin Duffey
couldn't you download a jar or class file other ways then use this to load it? On Jan 8, 2013 9:19 AM, "Mark Murphy" wrote: > You mean, besides the fact that URLClassLoader doesn't work with > Dalvik files (AFAIK) and that loading a library directly from the > network is totally insecure? > > On

Re: [android-developers] Network Class Loader

2013-01-08 Thread Mark Murphy
You mean, besides the fact that URLClassLoader doesn't work with Dalvik files (AFAIK) and that loading a library directly from the network is totally insecure? On Tue, Jan 8, 2013 at 12:12 PM, Jan Burse wrote: > Dear All, > > I am just read: > >Provides a simple ClassLoader implementation tha

[android-developers] Network Class Loader

2013-01-08 Thread Jan Burse
Dear All, I am just read: Provides a simple ClassLoader implementation that operates on a list of files and directories in the local file system, but does not attempt to load classes from the network. Android uses this class for its system class loader and for its application clas