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

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -