Search code examples
windows-phone-7windows-phone-8windows-phone-8.1save-image

How to Save Image from a URL in Local Photos album of Windows Phone?


I have a problem with save image from URL in local photos album and My code: But it shows an error at mediaLibrary.SavePicture(string.Format("SavedPicture{0}.jpg", DateTime.Now), isolatedStorageFileStream);. Can I help you? Thank all.


Solution

  • Ensure that you have checked the ID_CAP_MEDIALIB_PHOTO in your "capabilities" section of WMAppxmanifest.xml file. Provide some more error details, if this doesnt help you.