[jdev] Self Status

andy nes andynes83 at gmail.com
Mon Dec 3 08:20:39 UTC 2012


Hey,

I am using asmack library to build a client for android.

When a user changes their status in the client, how can app know for sure
that the status is changes at the server? Does xmpp server(ejabberd in my
case) send any acknowledgement for a successful change in the status?

Also, at any time, what if the user (client lib) wants to find out his
status (available, busy etc)

I know that the client can know the status as he can capture it when the
user changes it, but that might not always be true. What if the client
sends a status change, but due to some unforeseen reasons, the server
doesn't change that. Now the client and server are out of sync.

So, is there a way to find out my own status asking the server?

This is my setup:
Server: Ejabberd
Client: aSmack

/andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20121203/1ecd313b/attachment.html>


More information about the JDev mailing list