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.
09-30-2012 04:13 PM - edited 09-30-2012 04:19 PM
I am working on a weblaunch for my personal site. It is the really simple kind of launcher that doesn't open the brower, instead the app launches and pulls in the website in it's own window. I've made several of these apps for my own use and using the Tablet SDK, they all function flawlessly. But for some reason, the same exact code causes a error when signed with the BlackBerry 10 webworks SDK.
The app will launch fine and everything looks normal. The only problem is if you click on a link, the new page will launch but then a pop up shows that says:
Access to "http://static.ak.fbcdn.net/rsrc.php/v2/yD/r/g6A2L7
and the app crashes. You can no longer scroll on the page. This error happens on any link I try. Even links on my own website. Any ideas on what is going on?
I have both versions on my Dev Alpha. Both launching the same website. The Tablet SDK version doesn't have this error, just the new version.
I would really like to be able to add BlackBerry 10 features to this app. Is there a new code we should be using for Weblaunchers now?
09-30-2012 05:39 PM
you need the access element in your config.xml
09-30-2012 05:46 PM
I have this:
<access uri="*" subdomains="true"/>
The config.xml is exactly the same for both version. The only modifications that were made is the version numbers and what SDK packaged and signed them. I just made one for Google adsense. The version that is packaged with the Tablet SDK works. The one that is packaged with BlackBerry 10 SDK gets a error when links are opened.
09-30-2012 05:56 PM
access uri="*" covers cross site XHR on Playbook but on BB10 the security implies that you specially whitelist an cross site XHR.
but since you are clicking on a link I am surprised that you are affected.
09-30-2012 06:04 PM
That didn't fix it either. Same error at the same spot.
"URL" not allowed
Could signing it by command prompts effect anything?
09-30-2012 06:18 PM
That time it didn't let the home page load at all. And it said I wasn't allowed to access it.
Very strange. This is the config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns=" http://www.w3.org/ns/widgets" version="1.0.0">
<content src="http:// .com/"/>
<access uri="*" subdomains="true"/>
I fill out the blanks and it works everytime with Tablet SDK.