Titanium Community Questions & Answer Archive

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

Android Contacts API

Does the contact API work on the Android platform?

As I get an error on the following

Titanium.Contacts.getAllContacts();

as it seems to be undefined according to the error message.

— asked May 14th 2010 by Simon Facciol
  • android
  • api
  • contact
0 Comments

6 Answers

  • Android's contacts API is now supported. You should also check the current Titanium.Contacts API docs as pretty much all properties of returned contacts are accounted for.

    Android cannot add/edit contacts via the core Titanium.Contacts API, but you can do it by using Android Intents. Check out the "Forging Titanium Episode 9: Android Intent Cookbook" screencast to see exactly how to do this.

    — answered October 5th 2011 by Tony Lukasavage
    permalink
    0 Comments
  • The contacts API for Android is not ready yet.

    — answered May 14th 2010 by Don Thorp
    permalink
    0 Comments
  • any eta on that happening don?

    rocksteady,
    danno~

    — answered May 14th 2010 by danno watts
    permalink
    0 Comments
  • I can not find the getAllContacts() documentation. does it exist?
    But I can find:
    getAllPeople, which returns an array of all the contacts in the DB.

    and..
    showContacts

    Is there anything else we should know on ANDROID vs. iPHONE?

    — answered September 27th 2010 by vincent youmans
    permalink
    0 Comments
  • I can not find the getAllContacts() documentation. does it exist?
    But I can find:
    getAllPeople, which returns an array of all the contacts in the DB.

    and..
    showContacts

    Is there anything else we should know on ANDROID vs. iPHONE?

    — answered September 27th 2010 by vincent youmans
    permalink
    0 Comments
  • getAllPeople is the correct API.

    — answered September 27th 2010 by Don Thorp
    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.