I had the same problem…recieving the same message a number of times…using addPacketListener…how did you solve it?
I used addMessageListener instead…i still cant figure out the differences…anyone shed some light on this???
Also if im in a chat already with the same user and i log off and log back on my messages dont get sent to the chat person…why is that???do i need to issue a message that initiates a CHAT???
I’‘ve fix my problem with a class of a PacketListener and i’'ve did conn.addPacketListener more then one time - so that was the problem in my case.
So what i did was creat a diffrent class that represents the PacketListener(inner class). And i’‘ve register this class at the begining, after i’'ve made a connection…