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
Developer
srk2012
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520
My Carrier: Airtel
Accepted Solution

Error Acces to Uri not allowed in BlackBerry Tablet or PlayBook app

 

 

I have built a Live TV based app it consist of url's with jquery 

 

 

and my uri end with .aspx  insteada of .com\

 

 

 

For  example         http://-----------------------------xmlnew.aspx

 

                                http://------------------------------xmlnew.aspx?type=lang

 

 

                                http://-----------------------------xmlnew.aspx?bandwidth=medium

 

 

 

Any problem with the url 

 

 

How  should be my config.xml and index.html in that case ?

 

 

 

 

 

 

Please use plain text.
BlackBerry Development Advisor
twindsor
Posts: 807
Registered: ‎07-15-2008
My Device: Z10
My Carrier: Bell

Re: Error Acces to Uri not allowed in BlackBerry Tablet or PlayBook app

You need to whitelist the actual URLs. If those are being dynamically generated, then you will need to whitelist all possible ones, or turn off websecurity.

Tim Windsor
Application Development Advisor II
Please use plain text.
Developer
srk2012
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520
My Carrier: Airtel

Re: Error Acces to Uri not allowed in BlackBerry Tablet or PlayBook app

in config.xml       access uri                   sub =true alredy what do uou mean   by turning off web security

Please use plain text.
BlackBerry Development Advisor
twindsor
Posts: 807
Registered: ‎07-15-2008
My Device: Z10
My Carrier: Bell

Re: Error Acces to Uri not allowed in BlackBerry Tablet or PlayBook app

The * uri doesn't actually disable all checks in later versions of WebWorks.

 

The setting I am referring to is at the bottom of this page:

 

https://developer.blackberry.com/html5/documentation/param_element.html

Tim Windsor
Application Development Advisor II
Please use plain text.