c# - How to access downloads folder in windows phone 8.1 -


I want to download and read the file in the download folder. This is the original folder, such as photos and videos.

But Windows.Storage.DownloadsFolder is not available for the phone and let me call it known folders like windows Storage. Knowledge Founders Picture library

Also I tried the C: \ data \ user \ public \ download \ , this is an unauthorized result.

I think some apps have access to this, but how?

You can use a file or folder picker. I'm not sure if you want the user to choose a file, or if you want to choose the file yourself, but I think the best way to achieve this is using something like this:

  FileOpenPicker OpenPicker = New FileOpenPicker (); OpenPicker.SuggestedStartLocation = PickerLocationId.Downloads; Wait for StorageFile file = open picture. PixxingfileSync ();  

or

  folder for folder picker = new folder picture (); FolderPicker.SuggestedStartLocation = PickerLocationId. download; FolderPicker.PickFolderAndContinue ();  

Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -