Pergunta

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

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top