0
我正在開發一個Windows 8商店應用程序,我需要讓用戶選擇一張照片並將其保存到本地文件夾, 我已經管理JSON中的保存方法文件,我知道如何使用選擇器使用文件選取器將選取的照片保存到本地文件
FileOpenPicker openPicker = new FileOpenPicker();
openPicker.ViewMode = PickerViewMode.Thumbnail;
openPicker.SuggestedStartLocation = PickerLocationId.PicturesLibrary;
openPicker.FileTypeFilter.Add(".jpg");
openPicker.FileTypeFilter.Add(".jpeg");
openPicker.FileTypeFilter.Add(".png");
StorageFile file = await openPicker.PickSingleFileAsync();
是否有可能將所選照片添加到資產文件夾中永久存在?如果是的話,請幫忙,如果沒有,請幫忙:D 謝謝