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.
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.
-
The contacts API for Android is not ready yet.
-
any eta on that happening don?
rocksteady,
danno~ -
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..
showContactsIs there anything else we should know on ANDROID vs. iPHONE?
-
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..
showContactsIs there anything else we should know on ANDROID vs. iPHONE?
-
getAllPeople is the correct API.