Get File without opening directory
By Maksym
12 Sep 2013 05:06
English
2 Replies
What is the way to get File without opening directory if I have absolute path?
filePath = "/opt/usr/media/Images/Default.jpg";
tizen.filesystem.resolve(filePath, function(file) {
console.log('filePath = [' + filePath + ']');
console.dir(file);
}, function(arg) {
//Always get this callback with error "location not found"
console.error(arg);
}, 'r');
Edited on 18 03, 2014
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.