Smeegs
Smeegs

Reputation: 9224

Open pictures library from windows 8 app (c#)

I have an app that stores images in the pictures library in a subfolder. When the pictures is saved a toast notification pops up alerting the user that the file was saved successfully. However, I want that toast notification to be clickable, and when clicked I want it to open the pictures library to see all the saved files.

How can I launch explorer from an RT app?

Upvotes: 1

Views: 1084

Answers (1)

Iris Classon
Iris Classon

Reputation: 5842

Due to the sandboxing you are not allowed to do that (launch the explorer form the windows store app), the only way you could access would be by using the filepicker, and setting the display mode to thumbnails. Set folder location, viewmode and typefilter. As long as the user selects, you dont need to set this as a capability.

Filepicker: http://msdn.microsoft.com/en-us/library/windows/apps/hh465199.aspx

Similar question: Launch Windows Explorer from Metro style app

General guidlines for thumbnails: http://msdn.microsoft.com/en-us/library/windows/apps/hh465350.aspx

Upvotes: 1

Related Questions