How can I force my app to refresh the ad? [duplicate]
Possible Duplicate:
How to force Admob to refresh on Android
My problem is if my program can't load an ad at the start, it won't try it continously, so while the user is playing with my game, there will be no ads to show. Ho开发者_如何学Pythonw can I force my app to try to load again an ad? I set the refresh rate on the Admob's site, but it can't refresh itself, if there weren't any ads at the start. I'm at AdMob.
Please help me!
Try
AdView.loadAd(new AdRequest());
and
@Override
public void onFailedToReceiveAd(AdView adView)
{
// TODO Auto-generated method stub
super.onFailedToReceiveAd(adView);
//Display your other view here.
}
Note that your question is a duplicate of one of two SO questions. There is a search tool here.
精彩评论