Developing clients on Smack and IM Gateways / Transports

I know I’‘ve seen this somewhere in the past, but for the life of me I can’‘t find it today… can someone tell me where there’'s a “how to” guide on using Smack to programatically register with an IM gateway, download the roster, and use the contacts on the remote service? Thanks!

Cheers,

Dan

Registration is described in XEP-0100, the other things aren’'t specific to the gateway, you can treat them like regular XMPP-contacts.