Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 546e8657ec
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (37 sloc) 1.195 kb
<ul class="devices"><li class="iphone">iphone</li><li class="android">android</li><li class="blackberry">blackberry</li><li class="symbian">symbian</li></ul>
<h2>ContactManager.getAllContacts</h2>
<h3>Syntax</h3>
<p class="syntax">navigator.ContactManager.getAllContacts(<span class="arg req">win</span>, <span class="arg req">fail</span>,<span class="arg"> options</span>)</p>
<h3>Arguments</h3>
<p class="argument">win<span class="type">Function</span></p>
<p class="argument">fail<span class="type">Function</span></p>
<p class="options">options<span class="type">Object</span></p>
<h3 class="code">Example</h3>
<pre>
navigator.ContactManager.getAllContacts(countContacts, fail);
var countContacts(contacts)
{
alert(contacts.length);
}
</pre>
<hr />
<h2>Contact Object</h2>
<h3>Code</h3>
<pre>
var Contact = function() {
this.name = ""
this.phones = {};
this.email = {};
}
</pre>
<hr />
<ul class="devices"><li class="iphone">iphone</li><li class="android">android</li><li class="blackberry">blackberry</li><li class="symbian">symbian</li></ul>
<h3>Contacts</h3>
<h3>Code</h3>
<pre>
var Contact = function() {
this.name = ""
this.phones = {};
this.email = {};
}
</pre>
Jump to Line
Something went wrong with that request. Please try again.