Reputation: 487
I was just wondering if there was any way to add a share menu like this: http://puu.sh/5XkRD.jpg
Basically i need it in a way that once the user clicks on the "Share..." menu item in the context menu, the user will be navigated to that share menu where he can select a method to share.
Is anyone able to help me with this?
Upvotes: 1
Views: 532
Reputation: 125630
Use ShareStatusTask
: How to use the share status task for Windows Phone.
Use the share status task to enable the user to share a status message on the social network of their choice.
Sample code:
ShareStatusTask shareStatusTask = new ShareStatusTask();
shareStatusTask.Status = "I'm developing a Windows Phone application!";
shareStatusTask.Show();
There is also ShareLinkTask
for sharing links: How to use the share link task for Windows Phone.
Use the share link task to enable the user to share a link on the social network of their choice.
Sample code:
ShareLinkTask shareLinkTask = new ShareLinkTask();
shareLinkTask.Title = "Code Samples";
shareLinkTask.LinkUri = new Uri("http://code.msdn.com/wpapps", UriKind.Absolute);
shareLinkTask.Message = "Here are some great code samples for Windows Phone.";
shareLinkTask.Show();
Upvotes: 3