Advertisement
Beginner .NET MAUI, Device Features & Essentials

How do you open the browser, dialer, or email from MAUI?

Short answer

Use the launcher/communication APIs: Browser.Default.OpenAsync for URLs, PhoneDialer.Default.Open for phone numbers, Email.Default.ComposeAsync for email, and Sms/Map for others. These invoke the platform's default apps rather than embedding them.

Save .NET MAUI mock interview
Advertisement
AModel answer
Use the launcher/communication APIs: Browser.Default.OpenAsync for URLs, PhoneDialer.Default.Open for phone numbers, Email.Default.ComposeAsync for email, and Sms/Map for others. These invoke the platform's default apps rather than embedding them.
await Browser.Default.OpenAsync("https://w3teacher.com",
    BrowserLaunchMode.SystemPreferred);
PhoneDialer.Default.Open("+15551234567");
Real-world example
A contact screen opens the dialer with the support number and launches the website in the system browser.
Likely follow-ups
  • SystemPreferred vs External mode? | How do you compose an email?
Related topics