I have an idea to get the roster with VCard for profile related information.
I have customized the Roster response as like below,
IQ request:
IQ Response:
GopiI can able to get the name and jid from the RosterEntry but not able to get the vCard.
RosterEntry
Roster roster = Roster.getInstanceFor(connection); Collection<RosterEntry> entries = roster.getEntries(); for (RosterEntry entry : entries) { System.out.println(entry);//I would like to get the vCard information from here }
Can any one give me the idea about this?