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

In this post, you’ll learn about the Win32 Error “0x000019E5 – ERROR_COULD_NOT_RESIZE_LOG” that you get when debugging system erors in...
In this post, you’ll learn about the error “CO_E_DBERROR 0x8004E02B” that is returned when working with COM based APIs or...
In this post, you’ll learn about the Win32 Error “0x000019D0 – ERROR_LOG_BLOCK_VERSION” that you get when debugging system erors in...