Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Starting a Hangout from an Android App

The Google Hangout API documentation talks about starting a Hangout from a website (see https://developers.google.com/+/hangouts/button) using either Tag Markup, HTML5 or Javascript. But I want to do so from an Android app. Is there a way? And once done, how do I "share via a create chooser" in parallel while the hangout is already running?

As an alternate one could fire a server side process which then uses one of the above methods - is there a way to make that process do so without further user intervention, AND assuming we use Hangouts on Air (and not the plain Hangout) is there a way that even if the Hangout is triggered by such a server process, that the original device (user) that triggered all this can join as broadcaster, while all others can only watch?

3 Answers

I was looking around for you and couldn't seem to find a way for this actually. There may be one out there but, I wasn't able to find one.

Perhaps, what you could do is leave the URL to the Hangout as an Intent and maybe, then, Hangouts would pick up the request.

I assume (I have not tried to do this) that visiting a Hangout URL on a mobile device would start up an Intent automatically asking you whether you wish to view it in Chrome or Hangouts.

As I said though, I have not tested this. It's just an idea :)

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Great question! I don't know...I've never tried and couldn't find anything with a quick look online. It does seem like there should be a way to do this.

Hmm, is there a way to "ask Google"? The Google Developer Forum has elicited no response, and I realise that such a forum or community is an informal community anyway, not the way to "officially ask Google". Is there a way to do that?

And yes, I have also already tried Stackoverflow!

The only way to contact Google is to use their product forums, sadly.

They do have ways to contact them but they tend to be for sales/product defects. You could always try one of these lines and maybe they'll direct you to someone else.