簡體   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