Creating a multi-chat client

1.5k views Asked by At

How do I create a XMPP chat client in Android for Yahoo, Gmail, AOL, etc., How do Nimbizz, eBuddy, Fring do it?

3

There are 3 answers

13
Harry Joy On BEST ANSWER

Use Smack API. It provides all you need.

Hope this helps.

3
Pablo Santa Cruz On

You need to implement every single protocol your IM platforms use:

  1. GTALK (XMPP)
  2. Yahoo (proprietary protocol)
  3. 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
Marc B 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.