I am a newbie in bb 10 app development. I am trying to read contact details for this I am able to read first name and last name (any type of single data type value). But in case of QList
value I am unable to find value.
Here is my code:
foreach(Contact le, contactList ){
out << "Name: "<< le.displayName()<<","<<le.firstName()<<" "<<le.lastName()<<"\n";
out << "No: ";
const QList<ContactAttribute> noAttributes = le.phoneNumbers();
foreach (const ContactAttribute &noAttribute, noAttributes) {
out<< "in";
out<< noAttribute.value();
}
out<<"\n";
}