如何使用我的 Windows Phone 8.1 应用程序处理所有文件类型

How to handle all file types with my Windows Phone 8.1 app

我希望能够在我的 Windows Phone 8.1 应用程序中重命名、复制、移动等任何类型的文件。有什么方法可以在包清单中声明我的应用程序可以处理所有文件类型吗?

您会找到大部分信息 at MSDN

您可以访问应用程序安装目录应用程序数据位置中的所有文件。如果您想访问 可移动存储KnownFolders 上的文件,您必须在 文件类型关联 中指定你的 packageappx.manifest 文件:

The files your app can access are limited to specific file types that are specified via File Type Association declarations in your app manifest.

您还可以通过 File pckers 访问 phone 上的文件。