Closed GoogleCodeExporter closed 9 years ago
To get a vCard's email addresses, use the "getEmails()" method. Because a
vCard can contain multiple emails addresses, this method returns a List. So,
to get the value of the first email address, you would type something like this:
vcard.getEmails().get(0).getValue()
Thanks for using ez-vcard!
Original comment by mike.angstadt
on 26 Jun 2014 at 11:54
Hi Team,
I am facing two issues in fetching the telephone number details from vcard.
for(Telephone tel: vcard.getTelephoneNumbers()){
String number=tel.getText();
}
I am using this to get the telephone number. It is always giving the value
null. I am also not able to fetch the details for the type of telephone
also from the Vcard. Please advice.
Original comment by arun1989...@gmail.com
on 27 Jun 2014 at 8:03
In vCard version 4.0, TEL properties can have either a text value or a URI
value. If "getText()" returns null, try calling "getUri()". To get the TYPE
parameter value, call "getTypes()".
Original comment by mike.angstadt
on 27 Jun 2014 at 7:20
Original issue reported on code.google.com by
arun1989...@gmail.com
on 26 Jun 2014 at 6:20