title: How to set/get profile data with XMPP using Smack
body: <p>I am working on a XMPP client on Android, using the Smack library. The roster/messaging/presence stuff is running very well. However, I didn't find a way to store additional profile information (userpicture, the dogs name, ...).</p>
  
  <p>The only way I see from googling is using VCards. But it simply did not work. I tried the following:</p>
  
  <pre><code>        VCard vCard = new VCard();
          vCard.load(connection);
          vCard.setEmailHome("meine_home@email.de");
          vCard.setLastName("Scheller");
          vCard.setField("blafasel", "asdf");
          vCard.save(connection);
  </code></pre>
  
  <p>Then I was looking for a way to see that VCard information. It did neither show up in iChat nor in this System.out:</p>
  
  <pre><code>        vCard.load(connection, user);
          System.out.println(user + " has this vCard: " + vCard.toXML());
  </code></pre>
  
  <p>So anything went wrong, but theres no indication what it was. I tried this with the google talk server and my own copy of openfire with the same result. Btw, I am using this version of Smack: <a href="http://davanum.wordpress.com/2007/12/31/android-just-use-smack-api-for-xmpp/" rel="noreferrer">http://davanum.wordpress.com/2007/12/31/android-just-use-smack-api-for-xmpp/</a></p>
  
  <p>What am I doing wrong here? What is the correct way of storing profile related information with Smack?</p>