I can find plenty of examples using filepicker and letting the user decide where to save. What im trying to do is save a copy of the picture in a private storage folder of the metro app as a png file. The user picks the file but they don’t need to choose where to store it…
I see this answer:
Save Image from My Pictures Folder to Local App Folder in Windows 8 Metro App
which I’ll try when I get home tonight, hoping i can just give the filepicker the storage location and bypass the user….does anybody have a solution? Thanks in advance.
Your app can always store files in its LocalFolder (as the link you mentioned shows) without requesting permission, but other locations will require the user to be involved. LocalFolder is pretty much the ‘private storage folder for the app’, so should meet your needs.
There are special folders, like Pictures Library, that you can declare as Capabilities in your app manifest and then the user essentially is granting access by virtue of having installed your app. The presumption here is the user opted into that access because they saw your app required that capability and they were ok with it.
Lastly, you could employ a scenario where the first time user runs, you request them to use the FolderPicker to indicate where to store the files. Once they’ve granted access to a location on the file system, that privilege can persists via the AccessCache, so you don’t have to ask again