Pages

Wednesday 15 August 2012

Store the access to files/folders instead of using a picker each time

In a Metro Win8′s style app you have full access to the local, roaming and temp folder of the app. The app can also access the libraries(documents, videos, pictures, …) if the correct capabilities are declared in the package manifest.

If the app needs to retrieve any other file or folder, it has to ask the user through a picker. This is a one-time UI which gives you access to the desired item only if the user is OK with that.

It can be boring (and it is) for the user to give you access to a file each time you need it. In this post we will discuss the solution proposed by the WinRT Framework.

This is in fact as easy as managing a list of strings !

Read full article here

No comments:

Post a Comment

Web Informer Button