ShareMediaTask不支持Windows Phone 7 [英] ShareMediaTask doesn't support Windows Phone 7

查看:64
本文介绍了ShareMediaTask不支持Windows Phone 7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Wp7中共享我的应用程序中的照片.我遵循了 链接.但这给我一个错误

I am trying to share photo from my app in Wp7. I followed this link . But it give me an error

Error	1	The type or namespace name 'ShareMediaTask' could not be found (are you missing a using directive or an assembly reference?)

推荐答案

这是因为Windows Phone 7不支持ShareMediaTask,如 MSDN 页面,其内容为:" Windows Phone OS  

This is because ShareMediaTask isn't supported in Windows Phone 7, as is stated on the MSDN page, where it says: "Windows Phone OS Supported in: 8.0"

截至目前,在Windows Phone 7上只有两种共享照片的方式.首先,您可以将照片保存到图库中,然后让用户从那里共享.或者您可以上传图片 到远程服务器,并共享指向上载图片的链接.

As of now, on Windows Phone 7 there are only two ways of sharing photos. First, you can save the photo to the gallery and let the user share from there. Or you can upload the image to a remote server and share a link to the uploaded picture.

如果您认为这很愚蠢,则表示同意.但是除非下一次更新将该功能引入Windows Phone 7.8,否则我们将无能为力.


这篇关于ShareMediaTask不支持Windows Phone 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆