Windows Phone 7 ShareStatusTask - Is it possible t

2019-06-13 15:22发布

ShareStatusTask statusTask = new ShareStatusTask();
statusTask.Status = "Blogging";
statusTask.Show();

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 ?

1条回答
Animai°情兽
2楼-- · 2019-06-13 15:48

Unfortunately there is no way available to further customize it.

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.

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.

Even with a little disadvantage, I would suggest to use ShareStatusTask for simple implementations, unless you need some picture sharing etc.

查看更多
登录 后发表回答