plus.contacts.getAddressBook( plus.contacts.ADDRESSBOOK_SIM, function( addressbook ) {
console.log(1);
addressbook.find(["organizations","displayName","phoneNumbers","addresses","photos"],function(contacts){
console.log(phoneContacts.length);
}, function () {
alert("error");
},{
filter: [
{
logic: "and",
field: "phoneNumbers",
value: "???????*"
},
{
logic: "not",
field: "organizations.name",
value: "?"
},{
logic: "and",
field: "displayName",
value: "??*"
}
]
,multiple:true
});
}, function ( e ) {
alert( "Get address book failed: " + e.message );
} );
小小马
- 发布:2015-10-14 12:03
- 更新:2015-10-19 10:22
- 阅读:1520
1 个回复
dxjdeveloper
这样似乎可以