How to invoke Skype from code of my application.

I made an application which shows me a list of person ,I want that on saying the name of the person it should call him from Skype . Kindly help me with that.

Answers

  • hey @akab11ee are you achieve this things i also needs skype from code so please share if you achieve this .

  • Hi,
    this is teh code that I have done for open skype:
    private async void button_Click(object sender, RoutedEventArgs e)
    {
    var uriSkype = new Uri(@skype:(usertocall)?call);

            // Set the option to show a warning
            var promptOptions = new Windows.System.LauncherOptions();
         //   promptOptions.TreatAsUntrusted = true;
    
            // Launch the URI
            var success = await Windows.System.Launcher.LaunchUriAsync(uriSkype);
    
            if (success)
            {
                // URI launched
            }
            else
            {
                // URI launch failed
            }
        }
    

    With this you will open the skype

  • @DiegoV Did you use this code coming from a HoloLens app?
    Which namespace should I include to call the LauncherOptions method?

    Thanks!

  • Are you sure this code works on hololens? I'm afraid skype for hololens is still in beta and doesn't support uri.

  • anybody have any clue how can i assist user to initiate skype call from my app

  • anybody have any clue how can i assist user to initiate skype call from my app

  • @ajferrer ,@JackStones It is an Universal App ( I have tried only in Universal App I did not tried in the device but I think it should work). I cannot call the user but at least I open Skype from one App to other (skype). There is not any strange namespace added in there. I have seen same post saying that this is incorrect but at least it opens the skype.

  • @DiegoV said:
    @ajferrer ,@JackStones It is an Universal App ( I have tried only in Universal App I did not tried in the device but I think it should work).

    I'm sure it doesn't work on hololens device because the available skype version is a beta preview that doesn't support uri scheme.
    if you try to luanch any skype uri, the device open the store asking for the application to open with (it means that no application has subscribed to that uri scheme).

  • @JackStones ,

    Have you tried with Cortana? I didn't, however also could be a possibility.

  • @DiegoV
    with Cortana also not possible within app. :(
    **I have questions how to achieve thyssen krupp **?

  • @DiegoV said:
    @JackStones ,

    Have you tried with Cortana? I didn't, however also could be a possibility.

    it's not an option for me. I need to start skype by code.

  • @Ankit09_Sangani said:
    @DiegoV
    with Cortana also not possible within app. :(
    **I have questions how to achieve thyssen krupp **?

    Eh eh...this would be great.
    This demo embed skype inside virtual environment.
    The feature is not available to us poor developers :)

  • @JackStones
    yeah that's right :smiley:

  • @JackStones said:

    @Ankit09_Sangani said:
    @DiegoV
    with Cortana also not possible within app. :(
    **I have questions how to achieve thyssen krupp **?

    Eh eh...this would be great.
    This demo embed skype inside virtual environment.
    The feature is not available to us poor developers :)

    I think is just a concept, no real app :D

  • I am making an app which should launch Skype in Hololence ..Any one help me regarding this..???

Sign In or Register to comment.