I built an android app.
I use an advertising platform, but I'm not sure I would like to stick to it (maybe I'll decide to change it later).
For this purpose, I would like to create an interface, and a class implementing it, calling the ads of the platform.
The idea is that I could later at some point, load another class file from my server (with reflection) replacing the previous one. That way, I will be able to change advertising platform "on the fly" (for instance - Admob/Airpush).
Does someone know how can I load remote classes with Java?
Do you have any code example the shows it?