Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

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.

Posts: 10
Registered: ‎11-04-2012
My Device: BB10 Dev Alpha A
My Carrier: Viettel
Accepted Solution

XMLHttpRequest cannot load

hi Community,


I found this weird thing and want to ask you guys, please help me if you met it before.


My app work well in Riple Simulator but run this error "XMLHttpRequest cannot load" when running on Dev Alpha.

But when I try to change the version of Widget tags in config.xml to, something like 

<widget xmlns="http://www.w3.org/ns/widgets"


The app work well, both in Riple and Dev Alpha

But if the version is, it just run on Riple, but not in Dev Alpha.


Could you tell me the difference of version 1.0 and 2.0?

One more info, I use 1.0 in WebWork SDK 1.0.2,  2.0 in SDK 1.0.1


I'm so confused,

Any help would be appreciated



Posts: 222
Registered: ‎11-05-2011
My Device: Z10
My Carrier: Beeline

Re: XMLHttpRequest cannot load

try use latest SDK + you need to whitelisted your website (like http://site-where-i-download-something-using-xmlhttprequest.com ) at config.xml

Posts: 235
Registered: ‎12-13-2011
My Device: Curve 9380
My Carrier: Vodafone-IN

Re: XMLHttpRequest cannot load



Get xml as a string and converted into xml by using Dom.... I am using this type of method to get and parse xml...




Posts: 322
Registered: ‎08-06-2012
My Device: Dev Alpha / Playbook / Curve 9300

Re: XMLHttpRequest cannot load

As Pumano said you need to "whitelist" ANY website your app that it needs to access outside of your phone.  Do this using the <access... tag.  Read up in the HTML5 docs about the config.xml and access.

If it helped you, click like. Smiley Happy
Posts: 10
Registered: ‎11-04-2012
My Device: BB10 Dev Alpha A
My Carrier: Viettel

Re: XMLHttpRequest cannot load

hi guys,

Thanks all for your helps,

I try the guide in this page https://developer.blackberry.com/html5/documentation/securing_your_ww_app_1866986_11.html


It works properly,
I also like all your reply and accept as solution, appreciate for all