Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
01-17-2013 03:09 AM
I have a html5 site running on http://touch.srwd21.com (Internal domain address)
And I have below setting within widget element in config.xml
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="22.214.171.124" id="srwd21"> <name>srwd21</name> <description>Description for srwd21</description> <rim:permissions> <rim:permit>read_geolocation</rim:permit> </rim:permissions> <feature id="blackberry.invoke"/> <feature id="blackberry.connection" /> <feature id="blackberry.app" /> <icon src="icon.png"/> <content src="http://touch.srwd21.com"/> </widget>
I deployed the app to BB10 Alpha simulator, and when launched, see my snapshots:
The css is well loaded, and search bar is there at expected place, but just the image file are not allowed to access. Please help what's wrong, and what need to be set.
Solved! Go to Solution.
01-17-2013 09:29 AM
Thanks for your reply.
I have once tried that, it did not work.
I also tried to use uri="*", not work either.
Actually, I don't have such issue when wrapping the site to BB tablet app.
01-17-2013 09:36 AM
Really, well this is definetely not passing our whitelising so something is awry. That pop-up you see is what you get when your content is not whitelisted. So we need to find a way around that. Can you post your config?
01-17-2013 09:39 AM
An interesting part I found, the image file that can't access is specified in CSS file as background image. Another animated GIF file specified in HTML file could be accessed as expected.
01-17-2013 09:43 AM
<?xml version="1.0" encoding="utf-8"?> <widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="126.96.36.199" id="srwd21"> <author href="http://www.srwd21.com/" rim:copyright="Copyright 1998-2012 SRWD21 Inc.">Srwd21 Inc.</author> <name>srwd21</name> <description> Fun at srwd21! </description> <rim:permissions> <rim:permit>read_geolocation</rim:permit> </rim:permissions> <rim:loadingScreen backgroundImage="background.png" foregroundImage="background.png" onLocalPageLoad="true" onFirstLaunch="true"> </rim:loadingScreen> <feature id="blackberry.invoke"/> <feature id="blackberry.connection" /> <feature id="blackberry.app" /> <icon src="icon.png"/> <content src="http://touch.srwd21.com"/> <access uri="http://srwd21.com" subdomains="true"/> <access uri="*" subdomains="true"/> <license href="http://www.srwd21.com/"/> </widget>
As above attached. Quite simple, just reference the HTML5 site URL.
01-17-2013 11:17 AM
It seems to work just fine for me. I just bundled your config.xml into an app. I did find that the website does not deliver content for the RIM BB10 User Agent, so the site will need to be changed. Are you in charge of this site? Or just wrapping it? I had to change the userAgent to Iphone to get a good version.
In summary. There is not reason for you to get that dialog from what I can see.
01-17-2013 11:18 AM
Ahh I did find that this site access external data and tries to pull it in. You will get errors if you don't whitelist the xsite requests to espn.com etc etc.