android - Get the cursor associated with the contact table whose image is not filled -
i trying cursor containing names of contacts not have birthday in android (in contactscontract.commondatakinds.event.start_date contactscontract.commondatakinds.event.type = contactscontract.commondatakinds.event.type_birthday)
i go through cursorloader display on listview. not know condition indicated selection in
new cursorloader( getactivity(), contactscontract.data.content_uri, { contactscontract.contacts._id, contactscontract.contacts.lookup_key, contactscontract.contacts.display_name_primary }, ???, null, null); can me ?
i found solution not pass through selection of query. because contentprovider of contacts not explicitly linked birthdays (this why go through commondatakinds)
i have bypassed problem doing filter on retrieve object in cursor. of course it's less optimized if query condition works.
Comments
Post a Comment