- iphone
- android
- blackberry
- symbian
ContactManager.getAllContacts
Syntax
navigator.ContactManager.getAllContacts(win, fail, options)
Arguments
winFunction
failFunction
Example
navigator.ContactManager.getAllContacts(countContacts, fail);
var countContacts(contacts)
{
alert(contacts.length);
}
Contact Object
Code
var Contact = function() {
this.name = ""
this.phones = {};
this.email = {};
}
- iphone
- android
- blackberry
- symbian
Contacts
Code
var Contact = function() {
this.name = ""
this.phones = {};
this.email = {};
}