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

六月ゝ 毕业季﹏ 提交于 2019-12-24 13:04:16

问题


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..!!


回答1:


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);


来源:https://stackoverflow.com/questions/21283915/how-to-video-call-a-user-through-skype-from-another-android-application

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!