inmobi 广告打不开
我已将 inmobi 广告合并到我的 Android 应用程序中。在我的应用程序中,当我打开应用程序时,我可以看到来自 inmobi 的广告。但是当我点击广告时什么也没有发生。我检查了 ddms,它告诉我:
ActivityNotFoundException. no activity found to handle the intent
以下是我的代码片段,
imAdView = new IMAdView(this, IMAdView.INMOBI_AD_UNIT_320X50,"xxxxxxx(my app id kept secret)");
RelativeLayout layout = (RelativeLayout)findViewById(R.id.adview);
layout.addView(imAdView);
imAdView.setIMAdRequest(adRequest);
imAdView.loadNewAd();
我还需要导入更多内容吗?
I have incorporated inmobi ads in my android app.in my app i can see the ad from inmobi when i open the app. but when i click on the ad nothing happens. and i checked ddms which tells me this:
ActivityNotFoundException. no activity found to handle the intent
The following is my code snippet
imAdView = new IMAdView(this, IMAdView.INMOBI_AD_UNIT_320X50,"xxxxxxx(my app id kept secret)");
RelativeLayout layout = (RelativeLayout)findViewById(R.id.adview);
layout.addView(imAdView);
imAdView.setIMAdRequest(adRequest);
imAdView.loadNewAd();
do i need to import anything more??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在 InMobi 工作。一切看起来都不错,但可能值得遵循我们的最新教程 - http:// developer.inmobi.com/wiki/index.php?title=Android
I work for InMobi. That all looks ok, but it might be worth following our latest tutorial - http://developer.inmobi.com/wiki/index.php?title=Android