用于访问照片,视频,音乐和文档的原生API [英] Native APIs to access Photos, Videos, Music and Document

查看:67
本文介绍了用于访问照片,视频,音乐和文档的原生API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编写了一个运行时组件来访问Contact Store。使用的命名空间是 


Windows.Phone.PersonalInformation

ContactStore,StoredContact,ContactInformation,

KnownContactProperties


同样,  我必须为WP8编写运行时组件,我必须在其中访问照片,视频,音乐和文件。


我无法获得任何关于此的文档。


我们是否有原生API来访问照片,音乐,视频和文档?

解决方案

您可以通过媒体库访问照片和音乐


http://msdn.microsoft.com/en-us/library /windowsphone/develop/microsoft.xna.framework.media.medialibrary.aspx


I have written a runtime component to access the Contact Store. The namespace used is 

Windows.Phone.PersonalInformation
ContactStore, StoredContact, ContactInformation,
KnownContactProperties

Similarly, I have to write a runtime component for WP8 where in I have to access photos, videos, music and documents.

I am unable to get any documentation on this.

Do we have native APIs to access photos, music, videos and documents?

解决方案

You can access photos and music through the media library

http://msdn.microsoft.com/en-us/library/windowsphone/develop/microsoft.xna.framework.media.medialibrary.aspx


这篇关于用于访问照片,视频,音乐和文档的原生API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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