5 Replies Latest reply on Jul 23, 2014 9:17 AM by smack@jive

    Smack (Instant Messenger): How to add myself to another person's contact list

    smack@jive

      I'm looking for a complete but short java project that will show me how I can add myself to another person's contact list.

       

      I tried to use the following code, but it wouldn't always work:

       

      subscribe.setTo("testuser@testdomain");

      connection.sendPacket(subscribe);

       

      I'm a novice jivesoftware programmer. Please, I'm not looking for a manual or an Internet link. I only want a simple, short, and complete project.

       

      Thank you,