var dirs = blackberry.io.dir.appDirs;
alert(dirs);
打印“未定义”...
我的 config.xml 的重要部分:
<content src="http://10.0.0.117/MyApp/index.html"/>
<access uri="http://10.0.0.117" subdomains="true">
<feature id="blackberry.app" required="true" version="1.0.0.0"/>
<feature id="blackberry.io.file" required="true" version="1.0.0.0"/>
<feature id="blackberry.io.dir" required="true" version="1.0.0.0"/>
</access>
<rim:permissions>
<rim:permit>access_shared</rim:permit>
</rim:permissions>
<feature id="blackberry.app" required="true" version="1.0.0.0"/>
<feature id="blackberry.io.file" required="true" version="1.0.0.0"/>
<feature id="blackberry.io.dir" required="true" version="1.0.0.0"/>
任何帮助将不胜感激,在此先感谢您!
我发现这个链接几乎是同样的问题,但也没有解决......