How to Update UserOnline Status Android Smack ?
Presence p = new Presence(Presence.Type.available, "" +mode, 42, Presence.Mode.away);ConnectionManager.mConnection.sendStanza(p);