How to know Typing Status in XMPP openfire using Smack
To enable ChatStateListener you need to create a custom MessageListener Class 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 arg0, ChatState arg1) { if (ChatState.composing.equals(arg1)) { Log.d(“Chat State”,arg0.getParticipant() + ” is typing..”); } else if (ChatState.gone.equals(arg1)) { Log.d(“Chat State”,arg0.getParticipant() … Read more