Is there a way to set a callback -or what ever- to get notified when smack gets disconnected from server ?
Or do I have to check the isConnected and isAuthenticated properties on my own within an interval ?
Finn
Message was edited by: Galeon
Is there a way to set a callback -or what ever- to get notified when smack gets disconnected from server ?
Or do I have to check the isConnected and isAuthenticated properties on my own within an interval ?
Finn
Message was edited by: Galeon
Check XMPPConnection#addConnectionListener()
Thanks,
Alex
Perfect, thank you Alex