How to integrate RevMob with corona sdk
I want to integrate RevMob in corona but i can't get the exact way i can
use it. Following are the code which i am using to integrate RevMob in
Corona,because i m new to Corona and RevMob and i don't know how to work
with it. If any body knows please help to solve it. Thanks...
local RevMob = require("revmob")
display.setStatusBar( display.HiddenStatusBar )
local storyboard = require "storyboard"
local REVMOB_IDS = { ["Android"] = "", ["iPhone OS"] = "" }
RevMob.startSession(REVMOB_IDS)
RevMob.setTestingMode(RevMob.TEST_WITH_ADS)
local banner = RevMob.createBanner()
local banner = RevMob.createBanner({x = display.contentWidth / 2, y =
display.contentHeight - 20, width = 300, height =500 })
banner:hide()
banner:show()
banner:setPosition(banner.x + 1, banner.y + 1)
banner:setDimension(banner.width - 1, banner.height - 1)
banner:release()
No comments:
Post a Comment