0
votes

I am trying to look for an API to fetch files from the documents folder on the Phone. There were no APi's for doing this Windows phone 8.0. Is there anything in windows phone 8.1 ?

1
Is this what you're looking for? Scroll down to DocumentsLibrary.ChiefTwoPencils
yes, but it reads, You can't use the Documents library in a Windows Phone Store app. You can't publish a Windows Phone Store app that specifies the documentsLibrary capability to the Windows Phone Store. The Store blocks the publishing of the app. Your app can't access the Documents library in the phone's internal storage. If another app creates a Documents folder on the optional SD card, however, your app can see that folder.golldy
Sounds conflicting with this though. The (Windows Store Apps only) part, that is. Confusing. Plus I'm almost positive it's possible with xamarin.ChiefTwoPencils
This link gives information with respect to documents related to OneDrive but not the documents folder itself.golldy
What kind of windows phone 8.1 app? Silverlight or universal.Ken Tucker

1 Answers

0
votes

The documents library is not accessible programmatically on Windows Phone 8.1. Instead applications are encouraged to use either the FileOpenPicker or FolderPickerto allow users to choose files in the documents library.

On Windows applications are able to access the documents library provided they follow the requirements listed here.

The capabilities are locked down since many users store personal or sensitive information in the documents library, and allowing silent read/write to store applications risks this information leaking. Instead users have complete control (through the pickers) of what files or folders in the documents library apps have access to.