Get last activity

Hi,

I need to know last activity from users. This info would be available from a external app. How can i get this info?

Thanks!!

i think it’s can help u =)

all xmpp protocols - http://xmpp.org/xmpp-protocols/xmpp-extensions/

and last activity - http://xmpp.org/extensions/xep-0012.html