skype call using username in android

懵懂的女人 提交于 2019-12-04 02:28:05

问题


I already know to skype call using phone number but i can't do skype call using skype username please help me thanks

please see my code skype call when using phone number:

Intent skype_intent = new Intent("android.intent.action.CALL_PRIVILEGED");
    skype_intent.setClassName("com.skype.raider","com.skype.raider.Main");
    skype_intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 
    skype_intent.setData(Uri.parse("tel:+91//phone number")); 
    startActivity(skype_intent);

回答1:


You can call another skype user like this:

Intent skype = new Intent("android.intent.action.VIEW");
skype.setData(Uri.parse("skype:" + user_name));
startActivity(skype);

For video calls:

Uri.parse("skype:" + user_name + "?call&video=true")


来源:https://stackoverflow.com/questions/14293974/skype-call-using-username-in-android

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