This example just connect notify when connected and show the connected contacts.
Jid
(ej: maxpowel@gmail.com, alvaro.maxpowel@chat.facebook.com)
Password
Connect
Disconnect