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
New Contributor
Posts: 4
Registered: ‎03-08-2010
My Device: 8900
My Carrier: Rogers

Fail to Navigate On Widget application

I have page and i want to navigate to different domain like <a href="http://www.blackberry.com">Click Here</a>, i put the domain in whitle list, but still cannot navigate to desire domain, when i click on the link, white screen appears and become freeze. any suggestion or working example avaiable. thanks in advance, i am using Vista and Visual Studio 2008 and also downloaded latest JDK.

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Fail to Navigate On Widget application

Can you post up your <access> element.. 

 

If you are trying to access www.blackberry.com then your access element should look like:

 

 

<access uri="http://www.blackberry.com" />

 

 

If you were trying to navigate to something like http://www.blackberry.com/foo/2/index.htm the above statement would also work.

 

However, blackberry.com is a bad example because as soon as you hit it, it re-directs to a different domain. In that case you will have to also white list the other domains that it re-directs to.

 

Also... are you on a network that uses a Proxy server?  There is special configuration that you need to do in your development environment in this case.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
New Contributor
Posts: 4
Registered: ‎03-08-2010
My Device: 8900
My Carrier: Rogers

Re: Fail to Navigate On Widget application

Here is My config details:

<?xml version="1.0" encoding="utf-8"?>
<widget xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.0" rim:header="RIM-Widget:rim/widget" xmlns="http://www.w3.org/ns/widgets">
  <name>My Widget</name>
  <description />
  <author href="" rim:copyright="" email="" />
  <content src="index.htm" />
  <access uri="http://www.google.ca" subdomains="true" />
  <access uri="http://www.blackberry.com" subdomains="true" />
  <rim:loadingScreen backgroundColor="#000000" />
  <license href="" />
</widget>

 

 

my link line:

 

<

a href=http://www.google.ca>Click Blackbery</a>

i am able to create Widget package and run 8900 simulator, but as soon as i click on the URL it freeze..

Thanks.