07-27-2010 09:46 PM
I am creating a web widget that accessed a web page I have that lists several website links on it.
Do I really need to explicitly list all of them in the config.xml file to be able to go to them?
Not very flexible as I often add more links to this page through a web interface I created. If that is the case I would have to manually update the widget, recompile, sign, etc every time I wanted to be able to go to the new links I add to the site.
thanks
07-28-2010 08:47 AM
Hi usafrmajor,
If you want to allow your widget to browse to any website you can add the access element <access uri="*" subdomains="true" />
The one limitation is that if you want a domain to have access to any of the blackberry.* APIs then you will need to explicitly whitelist that domain and add the proper feature IDs to that domain.
07-28-2010 01:26 PM
Great thanks!
Alan
12-06-2010 06:55 PM
Hey, Tim. I'm assuming that there is no way to programmatically manipulate the WebWorks config.xml white list.
Is the only way to update the white list to install an update to the application?
12-06-2010 07:00 PM
That is correct, there is no way to manipulate the whitelist through JavaScript. This would allow a rouge JS to change the whitelist and give itself more permissions.