Welcome!

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

Reply
Contributor
Posts: 39
Registered: ‎11-16-2010
My Device: 9800
My Carrier: airtel
Accepted Solution

Unable to retrieve external domains

Hi all,

 

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Common-BlackBerry-WebWorks-devel...

 

Getting the same error explained in the above link

(Unable to Access External Domains)..

Below is the code for my Config.xml

 

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.0.0">
<name>test</name>
<access subdomains="false" uri="http://www.google.com/"/>
<content src="index.html"/>
</widget>

 

As per this article you can see above <access subdomains="false" uri="http://www.google.com/"/> has been entered. Then why am getting same again?

 

Any idea what's wrong?

 

thanx,


 


 

 

 

Developer
Posts: 17
Registered: ‎11-15-2011
My Device: Blackberry
My Carrier: WIND

Re: Unable to retrieve external domains

For starters you could try adding access to all external pages using:

 

<access subdomains="true" uri="*"/> 

and then seeing whether or not you can do what you wanted to do. If you can, then there's an issue with your original access tag. Perhaps it's using a subdomain for google, or google is linking to somewhere else, etc.

Contributor
Posts: 39
Registered: ‎11-16-2010
My Device: 9800
My Carrier: airtel

Re: Unable to retrieve external domains

Thanx man...