Hello.
I have recently published my app the the Android market, and now I want to create a free and ad supported version.
I am now running build .591 which supports Android ads via InMobi, and have a question about the code structure, as I haven’t gotten it to work yet.
Here is what I am working with:
local ads = require "ads"
-- Examples for inmobi:
ads.init( "inmobi", "12345678901234567890" )
-- following are iPhone, iPod Touch, iPad
ads.show( "banner320x48", { x=0, y=100, interval=5, testMode=false } )
Currently my main.lua immediately redirects to my menu.lua, and the the user starts the game at game.lua.
When do I require “ads”? When do I initiate ads? When do I show ads?
Thanks a bunch!
-Cullen Webb [import]uid: 52847 topic_id: 13730 reply_id: 313730[/import]