-
abhishekLikes 0Problem Description
hi,
i used this tutorial to implement ads in my cocos2d-x project. i made the project using cocos2d-x and xcode.
http://cocos2d-x.org/wiki/User_Tutorial-Integrate_AdMob
i managed to integrate ads in the app, but the ads are shown on the top. I am not so good with java, and need help to move ads to the bottom of the screen.
i know i have to edit some code in section 3.5. Editing Java file
please help me out
-
Sonar Systems adminLikes 0
Check this link out http://stackoverflow.com/questions/23372461/how-to-show-admob-ad-on-bottom
-
abhishekLikes 0
hi guys..
thanks a lot for the quick reply.
but this link seems to have a complete java code, whereas i used code from this link: http://cocos2d-x.org/wiki/User_Tutorial-Integrate_AdMob
so can you help me out in the specific method i have used?
i also tried these options: http://discuss.cocos2d-x.org/t/admob-bottom-placement-tutorial-v3-0/13854 but the apk does not run at all on devices. it just crashes so i have no way to check it.
-
Sonar Systems adminLikes 0
Check if there is a function like this or something similar
adView.setPosition
-
abhishekLikes 0
hi..
i tried checking it out.. there is no option like setPosition..i even tried gravity.. but nothing works..
adView.setGravity(Gravity.BOTTOM); → this line also gives error..(method setGravity is undefined for the type adView)
-
Sonar Systems adminLikes 0
Have you tried posting this on the cocos2d-x forums
Login to reply