O'Reilly logo

Windows Application Development Cookbook by Marcin Jamro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Launching a Skype call

Apart from starting a traditional phone call, you can easily launch a call to a given Skype user using the external application installed on the device. You will learn how to do it in this recipe. Similar to the case of opening a website in a default web browser, such a task just requires specifying a proper Uri instance and passing it as a parameter to the LaunchUriAsync method of the Launcher class.

Getting ready

To step through this recipe, you need only the automatically generated project.

How to do it...

To prepare an example that allows launching a Skype call, perform the following steps:

  1. Add a button (starting a call to a given Skype user) to the page by modifying the content of the MainPage.xaml file, as follows:
     <Page ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required