Simon
> --
> You received this message because you are subscribed to the Google
> Groups "phonegap" group.
> To post to this group, send email to phon...@googlegroups.com
> To unsubscribe from this group, send email to
> phonegap+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/phonegap?hl=en?hl=en
>
> For more info on PhoneGap or to download the code go to www.phonegap.com
>
--
Simon Mac Donald
http://hi.im/simonmacdonald
can i use resolveLocalFileSystemURI() for this moveTo function
function moveFile(entry) {
var parent = window.resolveLocalFileSystemURI("file:///sdcard/newfolder",
onSuccess,
onError);,
parentEntry = new DirectoryEntry({
fullPath:parent
});
entry.moveTo(parentEntry, 'newfile.zip', win, fail)
}
function win(entry) {
alert("Entry: " + entry.fullPath);
}
function fail(error) {
alert("Error code: "+error.code+" "+errNames(error.code));
}
function onSuccess(directryEntry) {
var entry = directoryEntry;
}
thanks
-pab
Simon Mac Donald
http://hi.im/simonmacdonald
Simon Mac Donald
http://hi.im/simonmacdonald