If I use this code on my cellphone it works but does not work on my Android tablet:
====================================================================
if the environment = "mobile" then
mobileAdRegister "Teachingthechild"
local tDetails
put "30" into tDetails["refresh"]
put 25 into tDetails["age"]
put "female" into tDetails["gender"]
mobileAdCreate "myAd2", "banner", (0,0), tDetails
set the height of "banner" to the height of this card
set the width of "banner" to width of this card
end if
========================================================================
The tablet is set to USB debugging.
I've also tried installing the app on the tablet and unchecking the USB debugging but
it still does not work. Any ideas?
Ads showing on cellphone but not on Tablet
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 63
- Joined: Sat Dec 22, 2012 3:01 am
-
- Posts: 25
- Joined: Mon Feb 25, 2013 4:00 am
Re: Ads showing on cellphone but not on Tablet
have you tried removing the code...
...the rest of the code looks good so it's possible this is the problem
Code: Select all
if the environment = "mobile" then
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Ads showing on cellphone but not on Tablet
Hi sincipient820,
From the info you received from rev support you added:
mobileAdSetTopVisible ("myAd1", true)
Which seems to have solved it for you.
It's not in the OP code.
Check out the post:
http://forums.runrev.com/phpBB2/viewtop ... 183#p70183
Simon
From the info you received from rev support you added:
mobileAdSetTopVisible ("myAd1", true)
Which seems to have solved it for you.
It's not in the OP code.
Check out the post:
http://forums.runrev.com/phpBB2/viewtop ... 183#p70183
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!