I want to add admob to the specific place. For example in the landscape app i want to add it to the bottom-right. What should i use for gravity?
FrameLayout.LayoutParams adParams = new FrameLayout.LayoutParams(
FrameLayout.LayoutParams.WRAP_CONTENT ,
FrameLayout.LayoutParams.WRAP_CONTENT ,
Gravity.BOTTOM); ??
Comments
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
require "myAdMob"
myAdMob.loadAd("ID")
myAdMob.changeAdPos(340, 430)
myAdMob.showAd()
I am using that codes in gideros. I did everything which writes there.
Still haven't find anything to resolve that issue, but we might try to do it together.
@talis @mertocan
Could you please try this project:
http://appcodingeasy.com/AdMob.zip
If @Scouser mentioned plugin does not work on your device
And this project launches without errors
And displays AdMob ad in the middle of the screen
And if you put filter tag:blah for LogCat and see:
P.S. To be completely sure, try restarting the app couple of times, to see if it works all the time
Have any idea?
But when i try to run it is giving this error in your project :
Errors occurred during the build.
Errors running builder 'Integrated External Tool Builder' on project 'com.giderosmobile.android.AdMobActivity'.
The file does not exist for the external tool named AdmobBuilder.
The file does not exist for the external tool named AdmobBuilder.
Ok here is my test result.(HTC DEsire Hd android 2.2)
Ad in the middle------Working like a charm after 10 times no error.:D
Log cat log:
10-25 00:08:54.038: D/blah(3523): modifyString method called
10-25 00:08:54.038: D/blah(3523): blah blahsomestring
10-25 00:08:54.038: D/blah(3523): blah blah - 1
10-25 00:08:54.038: D/blah(3523): blah blah - 2
10-25 00:08:54.048: D/blah(3523): blah blah - 3