How do I create a XMPP chat client in Android for Yahoo, Gmail, AOL, etc., How do Nimbizz, eBuddy, Fring do it?
Use Smack API. It provides all you need.
Hope this helps.