как получить статус ввода в asmack android

я сделал следующее, но я не получаю статус ожидания при наборе текста, мне нужна большая помощь по xmpp, если кто-то может помочь мне сделать это

public class MessageListenerImpl implements MessageListener,ChatStateListener  {
    @Override
    public void processMessage(Chat arg0, Message arg1) {
        System.out.println("Received message: " + arg1);

    }
    @Override
    public void stateChanged(Chat chat, ChatState state) {
        if (ChatState.composing.equals(chat)) {
            Log.DEBUG("Chat State",chat.getParticipant() + " is typing..");
        } else if (ChatState.gone.equals(chat)) {
            Log.DEBUG("Chat State",chat.getParticipant() + " has left the conversation.");
        } else {
            Log.DEBUG("Chat State",chat.getParticipant() + ": " + state.name());
        }
    }
}

person user687022    schedule 06.03.2014    source источник
comment
Попробуйте это stackoverflow.com/questions/18436546/   -  person Deven    schedule 12.06.2014