The path is available upon return from the file picker. See:
You can in turn then call
Windows.Storage.StorageFolder.getFolderFromPathAsync(path) .done( /* Your success and error handlers */ );
to get you the StorageFolder from that path.
문제
I have got a app with the getItemsAsync()
-method returning a file-object for a picture chosen by the user with a file picker. Now I would like to get the folder-object of the folder which contains the image to make the user able to switch between the pictures in that folder without using the filepicker again.
해결책
The path is available upon return from the file picker. See:
You can in turn then call
Windows.Storage.StorageFolder.getFolderFromPathAsync(path) .done( /* Your success and error handlers */ );
to get you the StorageFolder from that path.
다른 팁
if the app likely want to 'access' any file in the select folder, using FolderPicker is probably right. otherwise, the app will likely not have access to all files in the folder.