03-25-2012 04:55 PM
I am developing an app which is having multiple HTML pages , I am unable to access music directory from different page except index.htm I have included <feature id="blackberry.io.dir" /> in config.xml . Any solution?
Thanks in Advance,
03-26-2012 10:31 AM
Do all of your pages exist under the same domain? If not, you will need to make sure they as well as the blackberry.io.dir feature are properly whitelisted in config.xml.
Can you see any runtime errors in Web Inspector when you try to access the file system on pages other than index.htm?
To confirm - you should certainly be allowed to use this API from any *.html file in your project (e.g. KitchenSink sample app has a Directory API and File API demo page)