1 out of 3 rated this helpful - Rate this topic

How to: Use the Share Status Task for Windows Phone

Windows Phone

March 23, 2012

Use the share status task to enable the user to share a status message on the social network of their choice.

By using Launchers, you help provide a consistent user experience throughout the Windows Phone platform. For more information, see Launchers and Choosers Overview for Windows Phone.

To use the share status task

  1. Add the following statement to your code.

    using Microsoft.Phone.Tasks;
    
  2. Add the following code to your application wherever you need it, such as in a button click event. To test this procedure, you can put the code in the page constructor. This is the code to launch the task.

    ShareStatusTask shareStatusTask = new ShareStatusTask();
    
    shareStatusTask.Status = "I'm developing a Windows Phone application!";
    
    shareStatusTask.Show();
    

Did you find this helpful?
(1500 characters remaining)