[jdev] Determining a user's presence information

Trejkaz trejkaz at trypticon.org
Fri Sep 16 01:48:20 CDT 2005

> Hi All,
> I have an application with I need to query jabber to
> determine a user's current presence status. Is there
> any way to do this. I would like to do this in Java.

Smack or JSO are probably the two _main_ options available.  Smack
probably has enough functionality to write something like this in about
ten lines of code.

You won't exactly need to "query" Jabber to get the users' presence.  What
you'll be doing is recording what the server tells you automatically, for
later recall.


More information about the JDev mailing list