I am currently developing a chat application and I am using the following Vcard to store User information.
public void run() {
VCard vcard = new VCard();
vcard.setJabberId(xmppConnection.getUser());
vcard.setNickName(user.getChatId());
vcard.setFirstName(user.getUsername());
vcard.setPhoneHome("CELL", user.getMobileNo()); }
In addition to the above values I want to add new fields to the Vcard like
vcard.setNotificationType(user.getNotType())
vcard.setAlerts(user.getAlerts())
Is this possible? If so please help me on how to do it. Thanks.