Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
AdMob Android - Preload ? — Gideros Forum

AdMob Android - Preload ?

ArtLeeAppsArtLeeApps Member
edited July 2013 in General questions
Hi all,

Ive put the AdMob for Android in my app. and it works, but most times there is a delay putting onto the screen.
is there a way to preload the ad in the background, then switch it on ?

ive using this standard code from http://appcodingeasy.com/Gideros-Mobile/AdMob-plugin-for-Android#set_visibility_of_ad

like this :
 
	if sets.advertising == true 
	then
		admob.loadAd('aaaMyNumberaaa', "interstitial")
		admob.setAlignment('center', 'top')
		Timer.delayedCall(15000, function()
		admob.removeAd()
		end)
	end

Comments

Sign In or Register to comment.