How do I create a XMPP chat client in Android for Yahoo, Gmail, AOL, etc., How do Nimbizz, eBuddy, Fring do it?
Asked
Active
Viewed 1,585 times
-2
-
May I know why this post was down voted? – Ragunath Jawahar May 07 '12 at 13:36
-
can you provide SERVER_HOST, SERVER_PORT, SERVICE_NAME for Aol and MSN Xmpp client's – RajaReddy PolamReddy Aug 02 '12 at 12:11
3 Answers
3
You need to implement every single protocol your IM platforms use:
- GTALK (XMPP)
- Yahoo (proprietary protocol)
- AOL (Oscar)
So on, so forth.
Alternatively, you can have a SINGLE PROTOCOL on your Android device and use a PROXY IM SERVER to connect to all accounts (I think this is the way FRING and EBUDDY do it, not sure though).

Pablo Santa Cruz
- 176,835
- 32
- 241
- 292
-
-
@Ragunath Jawahar: good question. I have no idea. Check out http://www.igniterealtime.org/ – Pablo Santa Cruz Feb 01 '11 at 12:53
-
@Ragunath Jawahar: all that I know of are only doing this for their own app. – Piskvor left the building Feb 01 '11 at 12:54
3
The Pidgin IM client has its own libpurple, which implements pretty much all of the major IM protocols. There's some details and dogs on their site about the architecture.
But, basically, unless the IM network has published the specs on their protocol, most multi-network clients have to do reverse engineering (and/or just grab details from something like libpurple) to do their own implementations.

Marc B
- 356,200
- 43
- 426
- 500
2
-
Think Smack can be used only with XMPP servers. It doesn't support OSCAR or other communication protocols? – Ragunath Jawahar Feb 01 '11 at 13:09
-
@Ragunath: I dont know that much details. But tried it to connect to Gmail, Yahoo and MSN. It worked successfully. – Harry Joy Feb 01 '11 at 13:12
-
That's great. Could you please give the Yahoo and MSN servers with port? – Ragunath Jawahar Feb 01 '11 at 13:13
-
@Ragunath: Use Registration class of Smack API to register in yahoo and msn. As gateway string give yahoo.server and msn.server where "server" is your XMPP server. – Harry Joy Feb 01 '11 at 13:17
-
-
-
@HarryJoy can you provide server_host and port_number for AIM, MSN and yahoo i tried this xmpp.messenger.live.com for msn with out fair. can you provide more details on this.. – RajaReddy PolamReddy Aug 01 '12 at 10:38
-
@RajaReddyP for msn: `messenger.hotmail.com` and for yahoo: `scs.msg.yahoo.com`. Don't know about AIM. – Harry Joy Aug 01 '12 at 11:12
-
what about the post numbers, is it common for all client present ia m using 5222 and smack library. is it suitable for all... – RajaReddy PolamReddy Aug 01 '12 at 11:14
-
-
thanks Harry Joy, can i get back to you if i stuck at any case.. – RajaReddy PolamReddy Aug 01 '12 at 11:18
-
@RajaReddyP sure. If I have time and know the answer will try to help you. – Harry Joy Aug 01 '12 at 11:42
-
i am getting this warning No response from the server.,at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:73) – RajaReddy PolamReddy Aug 01 '12 at 13:14