How to programmatically launch Skype in Windows Phone?

Direct installation: suppose I already installed Skype in my OS, how can I start dialing from my application , and the specified phone number is passed as a parameter from Windows Phone? Thanks in advance.

+4
source share
3 answers

As of October 2014, version 2.24 supports Skype Uri, and now you can run Skype on Windows Phone 8.1 with skype://12345678?call as uri (from 1234678 - phone number)

See http://msdn.microsoft.com/en-us/library/office/dn745878(v=office.15).aspx for some syntax documentation.

(Disclaimer: I work in the Skype for Windows Phone team)

+6
source

I do not believe that you can. Using Windows Phone, you can use launchers that launch a predefined set of installed OSs, such as email, cards, etc.

The closest you can get is to use the phone call task.

Check: http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff769550(v=vs.105).aspx

Hope this helps. Communication between applications does not yet exist.

// jed

+2
source

The Skype API for WinJS provides some documentation.

Unfortunately, examples are provided in JavaScript.

Here is the source syntax:

 await Windows.System.Launcher.LaunchUriAsync(new Uri("skype:")); 

Someone’s call will look something like this: Example: one-to-one dialogue

 await Windows.System.Launcher.LaunchUriAsync(new Uri("skype:skype.test.user.1?call")); 

However, I do not know how to get Skype contacts in another application. This can be done with contacts in the hub people app.

See an example application here .

+1
source

Source: https://habr.com/ru/post/1446536/


All Articles