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 谢谢