How do I create a XMPP chat client in Android for Yahoo, Gmail, AOL, etc., How do Nimbizz, eBuddy, Fring do it?
Creating a multi-chat client
1.5k views Asked by Ragunath Jawahar At
3
There are 3 answers
3
On
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).
2
On
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.
Use Smack API. It provides all you need.
Hope this helps.