Windows Phone 7的ShareStatusTask - 是否有可能进一步自定义的呢? [英] Windows Phone 7 ShareStatusTask - Is it possible to customize it further?
问题描述
ShareStatusTask statusTask = new ShareStatusTask();
statusTask.Status = "Blogging";
statusTask.Show();
有在Windows Phone 7的满足我的大部分需求,可用ShareStatusTask。但我需要进一步自定义它。意思是,我有个人的Facebook,微博,现场的图标。当用户点击他们,我应该能够要么Facebook或Twitter或现场预选,弹出共享状态的任务。
There is a ShareStatusTask available in Windows Phone 7 which meets most of my needs. But I need to further customize it. Meaning, I have individual Facebook, Twitter, Live icons. When an user hits them, I should be able to popup the share status task with either Facebook or Twitter or Live pre-selected.
如果没有配置它们,我可能会显示错误信息来配置在他们的设备(在设置 - >帐户)。
If they are not configured, I would show an error message probably to configure it in their device (under settings -> accounts).
是否有任何代码或内置的功能可在芒果访问这些?
Is there any code or inbuilt functionality available in Mango to access these ?
推荐答案
可惜没有这样可以进一步自定义它。
Unfortunately there is no way available to further customize it.
当您使用ShareStatusTask(或类似ShareLinkTask一些其他类似的任务),控制完全转到操作系统和我们无关用。
When you use ShareStatusTask (or some other similar tasks like ShareLinkTask), the control completely goes to the Operating System and we have nothing to do with.
如果我们真的想自定义,我们必须使用一些第三方库像的吊床或 Twitterizer 获得Twitter和的 Facebook的C#SDK 为Facebook。
If we really want to customize, we have to go for our own implementations using some third party libraries like Hammock or Twitterizer for Twitter and Facebook c# SDK for facebook.
即使有点吃亏,我会建议使用ShareStatusTask简单的实现,除非你需要一些图片共享等。
Even with a little disadvantage, I would suggest to use ShareStatusTask for simple implementations, unless you need some picture sharing etc.
这篇关于Windows Phone 7的ShareStatusTask - 是否有可能进一步自定义的呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!