开发者

wp7 delete picture from saved pictures album

开发者 https://www.devze.com 2023-01-27 09:37 出处:网络
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 pic

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消