Hey!
BACKGROUND
I would like my users to develop their own routines for image
manipulation. Lets presume that a third party has written a class
which implements one of my interfaces;
public abstract class PixelBinaryFilter extends BinaryFilter{
...
protected abstract int generatePixel(int p1, int p2);
...
}
And hence has a class with one method defined, which could multiply
pixel values together, subtract them find their lowest common multiple
basically any routine they can think of.
This class would be complied and then converted to DEX using the dx
tool.
The third party would then download the .dex file to their phones
SDCARD, probably via my application using a 'Get New Routines' request
which takes the URL of the file.
QUESTION
If I have a .dex file on the SDCARD how can I load it at runtime? The
class name and path would be known.
I have been using the Class.forName command for the standard routines
but I don't know how (if) this will work with classes outside of the
application.
Many thanks,
Gavin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---