mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-11 00:00:05 +08:00
Merging Fil's contact changes with Bryce's Plugins
This commit is contained in:
+5
-1
@@ -101,7 +101,11 @@
|
||||
|
||||
function get_contacts()
|
||||
{
|
||||
navigator.ContactManager.getAllContacts(count_contacts, fail, null);
|
||||
var obj = new Contact();
|
||||
var name = new ContactName();
|
||||
name.givenName = '';
|
||||
obj.name = name;
|
||||
navigator.contacts.find(obj, count_contacts, fail);
|
||||
}
|
||||
|
||||
function count_contacts(contacts)
|
||||
|
||||
Reference in New Issue
Block a user