Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Crashing on iPhone with Outlook Contacts

My app is crashing when I select an Outlook contact (e.g., synched from an Outlook account) using the Kitchen Sink code or other code. The code works fine for "All from my Mac" contacts.


// Way 1
Titanium.Contacts.showContacts({
selectedPerson: function(e) {
    var person = e.person;
    var emails = person.email;
    Ti.API.log(emails); // Display the multivalue format, or...
    for (var label in emails) {
        var emailList = emails[label];
        Ti.API.log(label + ": "+emailList);
    }
}
});

// Way 2
Titanium.Contacts.showContacts({
selectedProperty: function(e) {
    if (e.property == 'email') {
        Ti.API.log(e.label + ": " + e.value);
    }
}
});

https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/1001

Any help appreciated.

Matt

— asked October 6th 2010 by Matt Dyor
  • contacts
  • iphone
  • outlook
0 Comments

1 Answer

  • I don't have a solution, but I am experiencing the same issues, as are others.

    — answered October 6th 2010 by Mike Robinson
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.