Hello,
I'm trying to launch GTalk voice chat with some person like this:
Uri imUri = new Uri.Builder().scheme("xmpp").authority("gtalk")
.query("call;type=voice").appendPath("[email protected]").build();
Intent intent = new Intent(Intent.ACTION_SENDTO,imUri);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
And here's the problem: if Google Talk app is already running - then
this code works fine (brings Google Talk activity to front and starts
a voice chat with [email protected]), but if it's not running - then
this snippet of code simply opens Google Talk Activity but doesn't
suggest to start a voice chat
It's interesting that it works absolutely correctly if I use
"call;type=video", but I need voice.
Thank you.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en