is there is any way in smack library that make me able to be updated with changes in vcard of any of my contacts I tried roster listener and packets listeners which listen for Iq packets but I couldn't get any thing
Asked
Active
Viewed 2,588 times
1 Answers
6
Short answer: No.
Long answer: With the currently deployed vCard spec, you can't get notifications of changes. You can however, detect when the embedded avatar changes.
In the new, vCard4-based spec, this is solved by re-using PEP for notifications. Unfortunately, it isn't widely deployed yet.

Zash
- 1,636
- 9
- 12
-
this was a great help it opens my mind on the vcard spes I was unaware of – Ahmed Aswani Dec 25 '11 at 19:24
-
using the references by @Zash I got these links which intreduce how to use PEP in SMACK http://oneminutedistraction.wordpress.com/2010/08/26/peppersonal-eventing-protocol-with-smack/ – Ahmed Aswani Jan 15 '12 at 11:25