03-06-2013 07:25 PM
I am using `Ripple` plugin for Chrome to try out HTML5 app with webworks 10 sdk. I cannot seem to be able to download any external javascript, I tried to get
<script type="text/javascript" src="http://www.blackberry.com/app_includes/asdk/adBanner.js"></script>
and
<script type="text/javascript" src="http://media.admob.com/api/v1/google_mobile_app_ads.js"></script>
but neither works, it always says not able to load resource, get failed, etc.
I have this in the config.xml
<access subdomains="true" uri="http://www.blackberry.com/"> <feature id="blackberry.advertising" required="true" version="1.0.0" /> </access> <accesss subdomains="true" uri="http://media.admob.com" />
Any help would be appreciated. If there is any other better alternative and example of displaying ad in HTML5 and BlackBerry it'll be even better!
Thanks.
03-07-2013 09:19 AM
Can you open web inspector and verify what error messages you re seeing?
03-07-2013 09:27 PM - edited 03-07-2013 09:30 PM
Good suggestion. I have tried the BB10 simulator, I do not get the javascript error while using blackberry ad javascript, but I get a different error. Here's a screenshot.
https://dl.dropbox.com/u/43903708/BB10Errors/1.PNG
My config file is like this:
<access subdomains="true" uri="http://www.blackberry.com/"> <feature id="blackberry.advertising" required="true" version="1.0.0" /> </access> <accesss subdomains="true" uri="*" />
03-07-2013 09:44 PM
Found the solution with this post