11-05-2011 02:36 AM
hi all, i have several web url that i use on my web work application like link page to facebook or another web, i know that i must include that on access element on config.xml, the problem is i have many web url in my web work, how i include all this web url on my config.xml? below i try to create a solution to solve, help me to correct this, my webwork app contain facebook, twitter and another web
11-08-2011 09:59 AM
Each access tag would need to b closed, like the following example. I've also included a feature ID that would allow that specific domain access to the specified feature ( in this case the system APIs).
<access uri="http://www.facebook.com"> </access> <access uri="http://www.twitter.com"> </access> <access uri="http://www.myanotherweb.com"> <feature id="blackberry.system" /> </access>
11-08-2011 06:26 PM
Hi sir, how about this code below? :
<access uri="http://www.anotherweb.com/" subdomain="true"/>
i look around on support forum and find code like this
but your advice above is just work sir, so much thanks for your help sir :-)
11-09-2011 09:21 AM
The subdomain is a valid attribute so the code you presented is valid as well. It really depends on your use case and whether you need access to subdomains.