In my wp7 app, I am able to save pictures taken from a camera in the saved pictures album and able to read them later. If a particular record is deleted in the app, I want to delete the associated picture with that entity from the saved pictures albu开发者_开发百科m.
Has anyone tried this? I don't seem to find any methods on the media library to perform this?
Pratik
There's no API for removing the user's pictures from their device.
The phone's owner is in exclusive control of this function.
An alternative approach may work for you to keep pictures in isolated storage and offer the user the ability to optionally put them in their media library, passing control of that capability to the phone's owner as well.
精彩评论