this is my code:
public void contactAddedMe(MsnMessenger messenger, MsnContact contact) {
messenger.sendText(Email.parseStr("***@gmail.com"), contact.getFriendlyName()); //debugging
System.out.println(contact.getEmail()+"\f\f\f\f\f\f\f\f\fgjfklgjdfgkljfgkljdfgkldjfgkl;djfg");//debugging
messenger.addFriend(contact.getEmail(), contact.getFriendlyName());
}
it seems when someone adds me the listener does not pick it up
is this a bug, if not how do i fix it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
and, How do I send only one message to certain switchboard, im asking because i need to know how to send to a group chat (more then one person there), if you know a better way ill be happy :D
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
this is my code:
public void contactAddedMe(MsnMessenger messenger, MsnContact contact) {
messenger.sendText(Email.parseStr("***@gmail.com"), contact.getFriendlyName()); //debugging
System.out.println(contact.getEmail()+"\f\f\f\f\f\f\f\f\fgjfklgjdfgkljfgkljdfgkldjfgkl;djfg");//debugging
messenger.addFriend(contact.getEmail(), contact.getFriendlyName());
}
it seems when someone adds me the listener does not pick it up
is this a bug, if not how do i fix it?
and, How do I send only one message to certain switchboard, im asking because i need to know how to send to a group chat (more then one person there), if you know a better way ill be happy :D
EDIT, contact adding is fixed, added another listener,,, should of tryed that first :S
now i dunno how ill make group chat work :S