powered by Jive Software

How to get current user status and presence


I am developing a chat application using asmack and i would like to get the current user status and presence.Is it possible?


This may help you: http://www.igniterealtime.org/projects/openfire/plugins/presence/readme.html

You do this via the Roster. You can add a RosterListener to track changes in presence live. The Roster can be obtained via the Connection.