AdME stands for Advertising Micro Edition. It is a mobile Java ME API that allows developers to integrate ad networks into their apps, in order to make some revenues. AdME has a very extensible design, which allows it to work with most ad network.
...
AdHandler adHandler = new InneractiveAdHandler("<app id>");
AdManager adManager = new AdManager(adHandler);
//
adManager.setAdListener(new AdListener() {
public void onReceived(Ad ad) {
Image adImage = Image.createImage(ad.getImage());
}
public void onFailedAd(Throwable exception) {
System.out.println(exception.getMessage());
}
});
//
adManager.requestAd();
...