从SD卡中读取.mp4,.jpg等. [英] Read .mp4, .jpg, etc. etc. from the SD Card

查看:121
本文介绍了从SD卡中读取.mp4,.jpg等.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从SD卡中读取某个应用的.mp4文件,但似乎找不到它们.我发现包含它们的文件夹很好,但是当我调用GetFilesAsync()函数时,什么也没有返回.我已将.mp4列为受支持的 WMAppManifest.xml中的文件类型.

I'm trying to read .mp4 files for an app off of the sd card but it doesn't seem to find them.  I find the folder that contains them just fine but when I call the GetFilesAsync() function nothing is returned.  I've listed the .mp4 as a supported file type in the WMAppManifest.xml.

还有什么要做?

推荐答案

这可能是因为png是保留类型:

This is probably because png is a reserved type:

更多信息 这里.

More info here.

如果将文件重命名为其他名称(例如扩展名为.test1并将test1注册到WMAppManifest),则可以通过查看文件是否可见来确认这一点.

You can confirm this by seeing if the files become visible if you rename your files to something else, say with a .test1 extension and registering test1 to your WMAppManifest.

有关外部SD存储的常规信息可以找到 这里.

General info about external SD storage can be found here.

希望这会有所帮助,
标记

Hope this helps,
Mark


这篇关于从SD卡中读取.mp4,.jpg等.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆