1 out of 1 rated this helpful - Rate this topic

How to: Use the Connection Settings Task for Windows Phone

Windows Phone

March 23, 2012

Use the connection settings task to enable the user to adjust the device’s network connection settings.

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 connection settings task

  1. Add the following statements 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.

    ConnectionSettingsTask connectionSettingsTask = new ConnectionSettingsTask();
    connectionSettingsTask.ConnectionSettingsType = ConnectionSettingsType.WiFi;
    connectionSettingsTask.Show();
    

Did you find this helpful?
(1500 characters remaining)