powered by Jive Software

How to use ChatManagerListener

who can give me a example about how to use ChatManagerListener.

this code allow you to receive messages :

PacketListener myListener = new PacketListener() {

public void processPacket(Packet packet) {

if (packet instanceof message) {

the process that you want to keep to the message that you receive

}

}

};

you can also add filter to get messges of one contacte.

good luck