Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[APP] Google Hangouts isOnline [XMPP]

$
0
0
Hi all, I'm trying to debugging how the new google Hangouts works with the old Gtalk/Xmpp protocol.

The primary goal is to know when a buddy is online from mobile or he is completly offline/unavailable.

At first I thought that when the mobile client disconnects from internet and from google server the Xmpp status of its buddy would become offline. So I've developed a simply app, Hangout isOnline:

https://play.google.com/store/apps/d...ngoutsisonline
https://github.com/monossido/Hangout-isOnline

But then I discover that even if all Hangouts clients are not comunicating with google server the Gtalk buddy it's still online with an away status, apparently without any changes. (the xmpp Presence packet seems to be the same)

The app it's still usefull to know if someone is using:
-Gtalk online/away
-Hangouts from PC online/away
-Hangouts from mobile

The app it's opensource so if someone has a solution for that any contribution is helpfull!

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>