【问题标题】:How to video call a user through skype from another android application?如何通过Skype从另一个Android应用程序视频呼叫用户?
【发布时间】:2014-01-22 13:12:39
【问题描述】:

我对这个 android 应用程序开发非常陌生,我正在学习。这个问题可能看起来很简单,但我无法找到解决方案。我正在发布我的代码..

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

我是通过引用链接Launch Skype from an App Programmatically & Pass Number - Android 得到的。我已经尝试了该页面上的所有内容。从上面的代码中,我可以启动Skype,但无法启动通话..请帮助我解决我错过的问题..!!

【问题讨论】:

    标签: android call skype


    【解决方案1】:

    试试这个,对特定用户进行视频通话:

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

    【讨论】:

    • 但是...如何在活动之外直接拨打电话...请帮忙。
    • “活动之外”是什么意思?你的意思是从服务?通常你只需要一个上下文来使用意图
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多