function createDir()
{
try
{
blackberry.io.dir.createNewDir("file:///store/home/user/FolderName");
alert("createDir event fired succefully");
}
catch(ex)
{
alert("createDir event faces following error: "+ex);
}
}
`
我不明白我在这里做错了什么=> blackberry.io.dir.createNewDir(“file:/// store / home / user / FolderName”); 什么是正确的语法?当bb转到此代码块时会触发以下错误:“Null”。为什么呢?
function createDir()
{
try
{
var path="file:///store/home/user/SomeFolderName/";
blackberry.io.dir.createNewDir(path);
alert("createDir event fired succefully");
}
catch(ex)
{
alert("createDir event faces following error: "+ex);
}
}
答案 0 :(得分:0)
- <feature id="blackberry.io.dir" />
已启用?