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

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -