Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 633

KennedyE
Android Fan
Profile
Posts: 373
Reg: Dec 07, 2013
PH, Nigeria
3,730
12/30/13 02:25 PM (11 years ago)

Solved: How to Add Admob Interstitials Ads to BT Android App

Hi, after many days of searching the net, I found this link: <a href="http://innosen.blogspot.com/2013/12/how-to-add-google-adsense-in-android.html#.UsHGerSmZrs" target="_blank" rel="nofollow">http://innosen.blogspot.com/2013/12/how-to-add-google-adsense-in-android.html#.UsHGerSmZrs</a> I understood everything except where and how to put the following code in my android quiz app with Menu Image Advanced: "5. Now open your Java file and initialize AdView Object in your Activity. AdView ad=(AdView)findViewById(R.id.adView); 6. Load ad from Google: ad.loadAd(new AdRequest.Builder().build()); Now Change AndroidManifest.xml file like below & Run your project and install application in mobile & check ads. For InterstitialAd Ads: 1. Use the below code in your activity: InterstitialAd end_ad=new InterstitialAd(this); end_ad.setAdUnitId(getResources().getString(“Your_AD_UNIT_ID”)); end_ad.loadAd(new AdRequest.Builder().build()); 2. Show Ad if loaded: if(end_ad.isLoaded()) { end_ad.show(); }" Can anyone explain and tell me where and how to put the above code in my BT Android App? I am using BT v3 with Google play services.
 
piggilypoo
Aspiring developer
Profile
Posts: 172
Reg: Jun 28, 2011
San Diego
5,120
like
12/30/13 02:57 PM (11 years ago)
I just added admob into my android app, and wrote up a little guide that might help you: http://www.buzztouch.com/forum/thread.php?fid=64DE8F7C56FC178B149FAFB&tid=64DE8F7C56FC178B149FAFB
 
KennedyE
Android Fan
Profile
Posts: 373
Reg: Dec 07, 2013
PH, Nigeria
3,730
like
12/30/13 03:33 PM (11 years ago)
Thanks @piggilypoo! Is this little guide about adding banner ads only? can you write up a little guide about adding interstitial ads?
 
KennedyE
Android Fan
Profile
Posts: 373
Reg: Dec 07, 2013
PH, Nigeria
3,730
like
02/01/14 04:06 AM (11 years ago)
I will release a guide on how to add Admob Interstitial ads soon, already got it working in some of my BT android apps
 
KennedyE
Android Fan
Profile
Posts: 373
Reg: Dec 07, 2013
PH, Nigeria
3,730
like
02/01/14 04:57 AM (11 years ago)
Solved: Here is How to Add Admob Interstitial Ads to an Android BT v3 App since its having fragments instead of activities: https://www.buzztouch.com/forum/thread.php?tid=64DE8F7C56FC178B149FAFB
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
08/02/14 01:39 AM (11 years ago)
your thread link is dead buddy. please suggest how to How to Add Admob Interstitial Ads and banner ads to an Android BT v3 app. please send me tutorial on my mail [email protected]
 
KennedyE
Android Fan
Profile
Posts: 373
Reg: Dec 07, 2013
PH, Nigeria
3,730
like
08/02/14 01:41 PM (11 years ago)
My guide links are not dead as you suppose, Lol. My marriage is by the corner: reason why I was not always here, cheers!
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/23/15 10:18 AM (10 years ago)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.