且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

的Windows Phone 8:媒体文件的访问

更新时间:2023-02-20 10:04:15

KnownFolders不会对WP8的第三方应用程序工作。

KnownFolders doesn't work on WP8 for 3rd party apps.

在上WP8准入方面这里有什么可用的:

In terms of access on WP8 here's what's available:


  • 联系人:读自WP7.5可用的访问,写访问通过WP8 ContactStore的使用。

  • 约会:只读访问可用自WP7.5。在WP8您可以通过SaveAppointmentTask用户确认后添加单独的约会。

  • 照片:读访问,因为WP7提供的所有文件夹。写访问相机胶卷和保存的图片可用,因为WP7.5。

  • 音频:开发人员可以在音乐库进行迭代,并甚至通过自WP7的原生播放器播放。启动WP8开发者可以通过添加歌曲MediaLibraryExtensions.SaveSong到音乐库()。

  • 视频:读写不可用。有安全和存储的问题与传输文件那么大。

  • 美元卡:启动WP8的应用程序可以为特定文件扩展名注册并阅读这些从micro-SD卡

  • 文件:没有读写访问。但是从WP8开发者可以打开DOCX / XLSX /使用Launcher.LaunchFileAsync etc文件,它就会打开一个只读的Office拷贝。然后,用户可以选择保存该副本中的Office中心。

  • Contacts: Read access available since WP7.5, write-access available via WP8 ContactStore.
  • Appointments: Read-access available since WP7.5. In WP8 you can add individual appointments after user confirmation via the SaveAppointmentTask.
  • Photos: Read access to all folders available since WP7. Write-access to Camera Roll and Saved Pictures available since WP7.5.
  • Audio: Developers can iterate over the music library and even play it via the native player since WP7. Starting WP8 developers can add songs to the music library using MediaLibraryExtensions.SaveSong().
  • Video: Read-write isn't available. There are security and storage issue with transporting files that big.
  • uSD Card: Starting WP8 apps can register for specific file extensions and read those from the micro-SD card.
  • Documents: No read-write access. But starting WP8 developers can open up docx/xlsx/etc files using Launcher.LaunchFileAsync and it will open up a read-only copy in Office. Users can then choose to save that copy in the Office Hub.

我发这个帖子的wiki所以如果有任何其他地方,随意编辑和添加这些要点。

I've made this post a wiki so if there are any additional areas, feel free to edit and add those bullet points.