Reputation: 57
I am trying to access all files and folders from SD card of windows phone. I am able to get only few file types like .pdf,.log, .mdx. I am also registering FileTypes in WMAppManifest.xml. I am not able to get .jpg , .png , .mp3 files. The following is the code for supported file types.
<SupportedFileTypes>
<FileType ContentType="application/gpx">.gpx</FileType>
<FileType ContentType="image/jpeg">.jpg</FileType>
<FileType ContentType="image/png">.png</FileType>
<FileType ContentType="image/jpeg">.JPG</FileType>
<FileType ContentType="application/pdf">.pdf</FileType>
<FileType ContentType="audio/mpeg">.mp3</FileType>
</SupportedFileTypes>
What am I doing wrong?
Upvotes: 1
Views: 2278
Reputation: 44
It is not Possible to get Reserved File types from Windows Phone 8 SD card. Also there is no Write access as of now.
Upvotes: 2
Reputation: 29792
You are doing everything all right. Simply you can't do that becoause these files are reserved.
You can tell user to change extension (while copying from Computer or other source) then copy it to internal storage (changing extension to the right one).
I also hope this will change in the future.
Upvotes: 1