0

I have a file let say image.jpg or file.txt .. in my sdcard in wipdows phone 8 /8.1

Now i want to copy that file in my isolated storage of my app .

Can it be done ? If yes How ?

AVIK DUTTA
  • 736
  • 6
  • 23

1 Answers1

1

You could simply use the KnownFolders.DocumentsLibrary in order to access the files from your SD card.

These are some sample:

Access the SD card in Windows Phone apps

Reading from an SD Card in Windows Phone 8 Applications

You could use the MemoryStream to transfer the file to IsolatedStorage and then load it from there.

Load File from SDCard

Community
  • 1
  • 1
Kulasangar
  • 9,046
  • 5
  • 51
  • 82
  • this link's example i tryed out earlier but it is unable to detect files "http://www.developer.com/ws/reading-from-an-sd-card-in-windows-phone-8-applications.html " – AVIK DUTTA Oct 29 '14 at 07:01
  • The KnownFolders.DocumentsLibrary doesn't work accesss permission denied – AVIK DUTTA Oct 31 '14 at 11:34