繁体   English   中英

Android应用中的嵌入式Google+环聊

[英]Embedded Google+ Hangout in Android Application

我正在尝试在我自己的Android应用中嵌入谷歌视频群聊提供的视频通话。

如果这是可能的,我不会,但我做了很多研究,找不到任何东西。

那么有人可以给我一个提示,我可以做到这一点,或者与其他第三方我可以做到这一点。

谢谢。

试试这个环聊:

        Uri imUri = new Uri.Builder().scheme("imto").authority("gtalk")
                .appendPath("example@gmail.com").build();

        Intent intent = new Intent(Intent.ACTION_SENDTO, imUri);

        intent.setComponent(new ComponentName("com.google.android.talk",
                "com.google.android.talk.SigningInActivity"));

        startActivity(intent);

对于视频环聊,您可以使用此功能:

Intent sky = new Intent( 
    Intent.ACTION_VIEW,
    Uri.parse("https://plus.google.com/hangouts/_/107117483540235115863"));
startActivity(sky);

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM