Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 6    Views: 46

Caslor
Android Fan
Profile
Posts: 191
Reg: Jul 26, 2013
athens
1,910
12/08/13 11:48 AM (11 years ago)

Adds in application with BTv2

Hi as i published my first Android application.. i thought that would be good to have some adds in my free app after a little search i found this tutorial :http://sfnent.blogspot.gr/2011/07/easy-guide-on-how-to-make-money-with.html (it was for older version of Buzztouch) Also i see this thread : http://www.buzztouch.com/forum/thread.php?tid=16591ACFB8928734B2F628C&command=isSearching&currentPage=1&topicTitle=admob&createdBy=&repliedBy=&minViews=-1&maxViews=-1&minReplies=-1&maxReplies=-1&forumCategory= that make more clear some things the problem is that when i place the 2 lines in manifest.xml in my project i am geting a lot of errors that cant resolved even i place a later google api level (lets say 3.2) has anyone succeed to add advertisments with admob ?
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
12/08/13 12:20 PM (11 years ago)
 
Caslor
Android Fan
Profile
Posts: 191
Reg: Jul 26, 2013
athens
1,910
like
12/08/13 12:55 PM (11 years ago)
this tutorial of yours is for BTv3 or Btv2 ? i have downloaded the : GoogleAdMobAdsSdkAndroid-6.4.1 that was the newest one my problem (i have followed the tutorial) is when i add the two lines in manifest.xml i am getting this error : String types not allowed (at 'configChanges' with value 'keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize| smallestScreenSize'). Now if i make clean from project menu i am getting : errors 100 of 441 items if i delete this two lines everything comes to normal...
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
12/08/13 07:45 PM (11 years ago)
The tutorial is good for both BT v2.0 and v3.0. However you have one more additional step to take in case of v2.0. The admob sdk is compatible only with the google api level 13 and above. It means it will not run on api's below 13. The introduction of configChanges to keyboard was introduced in the api level 13 for the first time so it wont work on apis below 13. So in case of BT v2.0 you have to follow the steps mentioned below to make it work. The default api level for BT v2.0 apps is set to Google API level 8. In eclipse right click on your project name--> Properties--> Android--> and then select Google API level 13 or higher. Then click ok. After that clean your project and the errors will be gone.
 
KennedyE
Android Fan
Profile
Posts: 373
Reg: Dec 07, 2013
PH, Nigeria
3,730
like
12/17/13 05:58 AM (11 years ago)
I will be very glad if someone can do a video or text tutorial on how to add Google Admob banner and interstitial ads to an android BT v3 app utilizing play services without admob sdk .jar file in project since play services already has ads, got some android apps which I made using BT v3 which I want to monetize with Admob banner and interstitial ads, thanks!
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
12/17/13 06:15 AM (11 years ago)
I would be pleased to do a video tutorial too but my problem is that i live in India and the new admob is not available in my country yet. So i cannot do the video for interstitials ads. As soon as the new admob is available here, i will do a video tut for it.
 
KennedyE
Android Fan
Profile
Posts: 373
Reg: Dec 07, 2013
PH, Nigeria
3,730
like
12/17/13 07:55 AM (11 years ago)
Oh! are you sure? I live in Nigeria and the new admob and interstitial is long available to me but don't know if google made it available to me alone.
 

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.