16. Files & Capabilities

In the last chapter we talked about interacting with the operating system to present the very top level of your app: its Start Screen tiles. In this chapter, we’ll move to the very bottom, and explore how a Win8 app interacts with the operating system to access files and folders.

Before your app can access the resources on the user’s system, you must explicitly declare your intention to do so in the app manifest. We’ve already worked with the manifest a little bit, and we’ll explore it in more detail in this chapter; it’s a simple matter of setting some checkboxes. And then, once the user installs your application, they’re presented with a message asking them for permission the first time your app accesses a privileged ...

Get Fluent Windows® 8.1 App Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.