Update Status with ShareStatusTask in Windows Phone

If you wish to share a status from your App to Facebook , Twitter or LinkedIn in Windows Phone , you can use the ShareStatusTask to achieve it .

The ShareStatusTask is a launcher that enables the user to update the status message on the social networking sites on Windows Phone .

Add the namespace to the code behind file

using Microsoft.Phone.Tasks;

Add the following code . Instantiate the ShareStatusTask launcher , set status property and call the Show method

private void button1_Click(object sender, RoutedEventArgs e)
{
ShareStatusTask status = new ShareStatusTask();
status.Status = "This is a test message";
status.Show();
}

When the Show method is called , the Launcher opens a form where you could select the social networking sites to update the status . 

Update Status with ShareStatusTask in Windows Phone
Update Status with ShareStatusTask in Windows Phone
Update Status with ShareStatusTask in Windows Phone
Update Status with ShareStatusTask in Windows Phone

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

This blog post will guide you through several effective methods to troubleshoot and resolve the issue of Microsoft Edge not...
Windows 11 offers a range of audio enhancements that can enrich your listening experience. These enhancements include features like virtual...
Windows 11 brings a fresh and visually stunning design to your desktop, and one of the standout features is the...