user2611606
user2611606

Reputation: 21

How to video call a user through skype from another android application?

I am very new for this android application development and I am learning. This question might look very easy but I am unable to find a solution. I am posting my code..

    Intent skype = new Intent("android.intent.ACTION_VIEW");
    skype.setClassName("com.skype.raider", "com.skype.raider.Main");
    skype.setData(Uri.parse("skype:echo123?call")); 
    this.startActivity(skype);

I got this from referring to the link Launch Skype from an App Programmatically & Pass Number - Android. I have tried everything on that page. From the above code, I am able to start the skype but am NOT able to start the call.. Please help me on what I am missing out..!!

Upvotes: 1

Views: 1381

Answers (1)

Hradesh Kumar
Hradesh Kumar

Reputation: 1805

Try This, for video call to a specific user:

Intent sky = new Intent("android.intent.action.VIEW");
sky.setData(Uri.parse("skype:" + "UserName"+ "?call&video=true"));
startActivity(sky);

Upvotes: 1

Related Questions