Titanium Community Questions & Answer Archive

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

Functions of Titanium.Contacts

Can anyone provide me with a list of functions from the Contacts class.

Right now I only know:

  1. Titanium.Contacts.getAllContacts()
  2. Titanium.Contacts.createContact()

Is there anymore?

— asked May 22nd 2010 by Ian Briggs
  • contacts
  • functions
0 Comments

2 Answers

  • Take a look here at the source code, you should find more :)

    http://github.com/appcelerator/titanium_mobile/blob/master/iphone/Classes/ContactsModule.m

    — answered May 22nd 2010 by Dan Tamas
    permalink
    0 Comments
  • This is the best docs I found for the contacts sofar:
    https://appcelerator.lighthouseapp.com/projects/32238/tickets/176
    However, there are some issues. The ones I know of:

    • setting details to phone, crashes when selecting the non-first number for a contact.
    • Organisation isn't readable.
    • phone is phone[0].value, not phonenumber.
      This is just for selecting 1 contact, haven't tried the other calls. See also my other thread on contacts:
      https://developer.appcelerator.com/question/20051/docs-for-contacts-api
    — answered May 22nd 2010 by Martijn Pannevis
    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.