Subscribe to our channel here for notifications on new video trainings. For more videos on technology, visit our website at http://www.techytube.com.
By mzmuda@techytube, for more from this author visit:
http://www.techytube.com/author/mzmuda
In our last video, we used the picture selected via our file picker to populate properties to text blocks.
Now, we want to save the state of our new page, so that the picture selected will persist across application launches.
At first glance it might seem as easy as just preserving the file path, but we will need to consider permissions to that image first.
When a file picker is launched, file access permissions are given to the application to any file the user selects (implicitly). To maintain these permissions, we will need to register the file as a 'Most Recently Used' file, and use the token returned from that operation for future access.
In this video, I will show you how to save the state of a file picker.
References
XAML File Pickers -- http://msdn.microsoft.com/en-us/libra...