简体   繁体   中英

Audio record issue in windows phone 8.1 silver light application

Hi i need to record audio using Micro Phone.I followed below link for implemented this. I am using Visual studio 2015 preview. In the project capabilities its not showing videosLibrary . So because of this restriction, it is throwing following exception.

Failed to capture audioSystem.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at Windows.Storage.KnownFolders.get_VideosLibrary() at EMM.AttachmentsUserControl.d__1.MoveNext()

http://www.codeproject.com/Articles/837500/Recording-Audio-in-Windows-Phone

How to resolve this issue. Could any advise me.

我在WMAppManifest文件而不是Package.appxmanifest中搜索videoLibrary,这解决了我的问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM