Here's what I did:
adMarvelView.setListener(new AdMarvelViewListener() {
@Override
public void onRequestAd(AdMarvelView arg0) {
// TODO Auto-generated method stub
}
@Override
public void onReceiveAd(AdMarvelView arg0) {
// TODO Auto-generated method stub
show(adMarvelView);
showingAdMarvel=true;
}
@Override
public void onFailedToReceiveAd(AdMarvelView arg0, int arg1,
ErrorReason arg2) {
// TODO Auto-generated method stub
}
@Override
public void onExpand() {
// TODO Auto-generated method stub
}
@Override
public void onClose() {
// TODO Auto-generated method stub
}
@Override
public void onClickAd(AdMarvelView arg0, String arg1) {
// TODO Auto-generated method stub
}
});
On Sep 24, 6:27 pm, bob <[email protected]> wrote:
> Anyone here know how to add admarvel ads? I need to be able to tell
> if an ad has been loaded and show/hide the AdMarvelView accordingly.
> I cant figure it out based on the docs from Admarvel.
--
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