Smack Send Composing Packet with Java(Android)

Hi all.i want send user typing packet in android chat.

But I dont know composing packet information.

Help me please.i want send composing packet via java.


I solve this problems it’s code;

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

hey can you help me with the similar issue?