我有一个应用程序将图像存储在图片库的子文件夹中。保存图片时,会弹出一个 toast 通知,提醒用户文件已成功保存。但是,我希望该 toast 通知是可点击的,并且当点击时我希望它打开图片库以查看所有保存的文件。
如何从 RT 应用程序启动资源管理器?
我有一个应用程序将图像存储在图片库的子文件夹中。保存图片时,会弹出一个 toast 通知,提醒用户文件已成功保存。但是,我希望该 toast 通知是可点击的,并且当点击时我希望它打开图片库以查看所有保存的文件。
如何从 RT 应用程序启动资源管理器?
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