powered by Jive Software

aSmack send user typing notification(composing)

Hi guys.

im using this api.

http://asmack.freakempire.de/4.0.3/

i want send user typing notification during the chat.

i used this code old api.

ChatStateManager.getInstance(connection).setCurrentState(ChatState.composing, myChat);

but i updated api 4.0.3 this code doesnt work.

please help me

“doesn’t work” is not a good problem description. Are you saying that there is no message stanza with a ChatStateExtension send after you called setCurrentState()?

Set SmackConfiguration.DEBUG to true, and show us the stanzas shortly before the call to setCurrentState() and after.