How to Launch the Email and Accounts Settings App using URI Scheme in Windows Phone 8?


This content was proof-read by Grammarly. You can Try Grammary for FREE

Below is a sample code snippet demonstrating how launch the Email and Accounts Settings App via the URI Scheme and LaunchUriAsync method in Windows Phone using C#.

How to Launch the Email and Accounts Settings App using URI Scheme in Windows Phone 8?

// Function open the Email and Accounts Settings App using URI Scheme in Windows Phone 8 using C#.

private async System.Threading.Tasks.Task LaunchEmailandAccounts()

{

await Launcher.LaunchUriAsync(new Uri("ms-settings-emailandaccounts:"));

}
%d bloggers like this: