0
votes

I'm struggling with Google talk and smack. I got as far as enabling unsafe applications and authenticating with an email address and password, but can't get the Google ids of the contacts. Apparently Google talk uses generated JIDs to hide user's identities and enable anonymous public chat conversations. But that ID ([email protected]) while seemingly persistent doesn't mean much to a human user.

How can I translate that to an old fashioned google id?

1

1 Answers

1
votes
  1. You can continue using "safe" applications if your xmpp library will implement Google X-OAUTH2 authentication mechanism, Smack library provides SASLXOauth2Mechanism class for it.
  2. VCardManager Smack helper is able to loadVCard(jid) for each contact you have, and give you details about contact