Below is a sample code snippet that demonstrated how the developers can use the ConnectionSettingsTask launcher to enable or disable the AirplaneMode from the Windows Phone 8 App.
How to Enable AirplaneMode from the Windows Phone 8 App?
ConnectionSettingsTask task = new ConnectionSettingsTask(); task.ConnectionSettingsType = ConnectionSettingsType.AirplaneMode; task.Show();
Leave a Reply