[英]Share image on social networking site in windows phone 8
我想在社交网络站点上共享编辑的图像,以便在Windows Phone 8中使用C Sharp共享哪个API可以将图像共享到网页上
You should use the ShareMediaTask
: 您应该使用
ShareMediaTask
:
ShareMediaTask smt = new ShareMediaTask();
smt.FilePath = "image.png";
smt.Show();
The limitation is that for security reasons, the ShareMediaTask
only supports photos from the Media Library (like the Camera Roll or the Saved Pictures folder). 限制是出于安全原因,
ShareMediaTask
仅支持媒体库中的照片(例如“相机胶卷”或“保存的图片”文件夹)。 See the question here for more info: Usage of ShareMediaTask along with Isolated storage image 有关更多信息,请参见此处的问题: ShareMediaTask的用法以及独立存储映像
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.