Receiving a File Launch Request

By associating your app with a file extension, the Windows Phone OS sends requests to open any files of the registered type to your app. It does so by launching your app and providing a deep link URI that contains a file token—a guid that is used to retrieve a file from storage.

It is your app’s responsibility to recognize the incoming file launch URI and redirect to a page that can handle the request.

Detecting a File Launch

When an app is the subject of a file association, it is launched and navigated to a URI beginning with this text: /FileTypeAssociation.

The value of a fileToken query string parameter is used to retrieve the file from storage. The following example shows a deep-link URI from a file launch: ...

Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.