Hi,
I m working on application which implements Google talk using Smack api.
I have logged in through the code, able to retrieve buddylist and can chat with the buddy.
The problem which i come across is whenever i try to change the status of user, it changes the status of the user but the status reverts back to the original message as 'Available' after some time.
The code which i used to change the status is
Presence presence = new Presence(Presence.Type.available, "Be right back",0, Presence.Mode.available);
connection.sendPacket(presence);
Also can any one help me in how to sign out from the gtalk while exiting as when i disconnect the the connection from the code, the presence remains available, and user is visible to everyone as 'online'.
Please help me..
Thanks in advance
Yogini

