powered by Jive Software

Chat States element send while send message. using sendstanza

I need to send the chat states (typing status) while send the message via sendstanza.

this is my code:

Message message = new Message(user_two, Message.Type.chat);

message.setBody(“how are you”);


I got a response like that ** how are you**

I need to send like o1kGhp

i need to send ** **element while send message.

If any one help me. it’ll b very useful to me. It’s very urgent. I’m expecting solution ASAP. thank you…