processMessage(Chat chat, Message message) not working in Android
<p>I am using aSmack-2010.05.07 XMPP library for writing down chat application on android,</p>

<p>Here is my associated code,</p>

<pre><code>chatManager = LoginScreen.getConnection().getChatManager();

 System.out.println("Chat Manager created .......");



    chat = chatManager.createChat(JID,new MessageListener() 
     {
        public void processMessage(Chat arg0, Message message) 
        {
            System.out.println("MSG = "+message.getBody());

            displayReceivedMesage(message.getBody());
        }
    });
</code></pre>

<p>but displayReceiveMessage()function never gets called, concludes that means the function</p>

<p>processMessage() doesn't hit at all.</p>

<p>Please Help me I am stuck here very badly.</p>

<p>Any help will be appreciable. </p>

<p>Best Regards,</p>

<p>~Anup</p>
