AnsweredAssumed Answered

I cannot obtain profile picture from GoogleTalk using smack API

Question asked by bogdan.chende on Aug 2, 2012
Latest reply on Aug 3, 2012 by bogdan.chende

I wannt to get my profile picture using VCards, but I cannot obtain any info, not only the avatar, I cannot obtain anything about my profile. My code is the fallowing:


VCard vCard = new VCard();


                              ProviderManager.getInstance().addIQProvider("vCard", "vcard-temp",

                                                  new VCardProvider());

                              try {


                              } catch (XMPPException e) {




                              byte[] bs = vCard.getAvatar();   // Avatar in byte array convert it to Bitmap


Does someone know why or did someone encounted the same problem?