How to modify Cellular Settings in Windows Phone using C# ?

You can access the Cellular Settings of the Windows Phone from your App by using the Launcher “ConnectionSettingsTask” .

The ConnectionSettingsTask will launch the settings form of the specified property of the ConnectionSettingsType .

The ConnectionSettingsType currently accepts AirplaneMode , Bluetooth , Cellular and WiFi .

To access the Cellular Settings form , just set the ConnectionSettingsType of the “ConnectionSettingsTask” to Cellular and call the show method .

This will launch the Cellular Settings form which allows the user to modify them .

To use the ConnectionSettingsTask Launcher , use the namespace Microsoft.Phone.Tasks;

ConnectionSettingsTask connectionTask = new ConnectionSettingsTask();
connectionTask.ConnectionSettingsType = ConnectionSettingsType.;
connectionTask.Show();

 

 

2 Comments

  1. Pablod June 14, 2012 Reply
    • Senthil Kumar B June 18, 2012 Reply

Leave a Reply