I am retrieving vCard using asmack library. I am able to retrieve the vCard but the response is not exactly what I require, it only gives response
<iq id="3842p-8" to="lalit3686.android@gmail.com" type="get">
<vCard xmlns='vcard-temp'><FN>Lalit Poptani</FN>
The expected response is complete detail/information about the user as shown here
I had tried it as below,
VCard vCard = new VCard();
try {
ProviderManager.getInstance().addIQProvider("vCard", "vcard-temp",
new VCardProvider());
vCard.load(conn, user);
Log.d("Vcard XML", vCard.toXML());
} catch (XMPPException e) {
e.printStackTrace();
}
I had also tried using this answer configuring everything thats required. So, is there anything that is required further to retrieve the complete xml of user's vCard?