显示在所有的活动中不断AdMob的广告横幅 [英] Show a constant admob ad banner in all the activities

查看:190
本文介绍了显示在所有的活动中不断AdMob的广告横幅的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的一个Android应用程序,我已经嵌入AdMob的广告在每个活动的底部,并在所有活动中的节目广告,但我想说明一个恒定的AdMob广告中的所有活动,显示所有的时间,而不破坏本身切换活动期间,请帮助我,如果有任何人知道这个问题的解决方案,我有3个活动,我也尝试创建一个基类,并一直延伸活动,这个基类,并调用它创建功能并加载广告,但还是同样的问题,我必须调用从每个活动类,它发送的请求加载广告和显示只是从它调用,我需要显示一个广告上的所有三项活动的欲望活动每一次,感谢名单这个功能提前....

I am working on an android application, i have embedded admob ad at the bottom of each activity and its shows ad in all activities, but i want to show a constant admob ad in all the activities that displays all the time without destroy itself during switching activities, please help me if any one know the solution for this problem, i have 3 activities and i also try to create a base class and extends all activities with this base class and call the function which creates and load the ad, but still the same issue i have to call this function from every activity class so every time it sends request to load ad and display just on the desire activity from which it calls, i need to show a one ad on all the three activities, thanx in advance....

推荐答案

有没有办法做到这一点。 正如埃利斯说,你只是想显示您的用户花费大部分时间的广告。

There is no way to do this. And as Ellis says you only want to display an ad where your user spends most of their time.

这篇关于显示在所有的活动中不断AdMob的广告横幅的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆