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
Visitor
Posts: 1
Registered: ‎03-07-2010
My Device: Storm
My Carrier: Developer

Problem with widget compilation and config.xml structure

Hi everyone,

 

I'm a newbie in BlackBerry Development. I have a problem when I want to compile my widget. There's a line in file config.xml:

 

 

<access url="http://www.google.com">

 

 

When I want to compile it, There's an error which tells about bad structure of file. What's wrog with this line?

Hope for answer.

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

Re: Problem with widget compilation and config.xml structure

[ Edited ]

You need to use "uri" and not "url"

 

 

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

 

 

Cheers

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Contributor
Posts: 13
Registered: ‎12-26-2008
My Device: Not Specified

Re: Problem with widget compilation and config.xml structure

[ Edited ]

You will also need a closing tag for you access line:

 

 

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

 

 

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

Re: Problem with widget compilation and config.xml structure

Ah yes... I updated my post to have the closing slash :smileyhappy:

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter