[英]How to handle all file types with my Windows Phone 8.1 app
I want to be able to rename, copy, move, etc. any kind of files in my Windows Phone 8.1 app. 我希望能够在Windows Phone 8.1应用程序中重命名,复制,移动等任何类型的文件。 Is there any way to declare in package manifest, that my app can handle all file types?
有什么方法可以在程序包清单中声明我的应用程序可以处理所有文件类型?
Most of information you will find at MSDN . 您可以在MSDN上找到大多数信息。
You can access all files that are in your Application install directory and Application data locations . 您可以访问Application安装目录和Application数据位置中的所有文件。 If you want to access files on Removable Storage or KnownFolders you will have to spcecify File type association in your packageappx.manifest file:
如果你想在可移动存储或KnownFolders访问文件,你将不得不spcecify在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.
您的应用可以访问的文件仅限于通过应用清单中的文件类型关联声明指定的特定文件类型。
You can also access files on your phone via File pckers . 您也可以通过File pckers访问手机上的文件 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.