Skip to content

How to query to get the contact list which were deleted? #207

Answered by vestrel00
heroickunal asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @heroickunal, great question! It's a tricky question to answer because there are so many different things that can be said about it. There are two ways of answering this question. Read the short answer for the TLDR. Read the long answer if you want a more detailed explanation.

I will answer this as thoroughly as I can because it is actually a very good question whose answer is not very straightforward.

Short answer

You cannot get contacts that have been deleted just by using the ContactsContract alone. Since this library is only a wrapper around ContactsContract, it does not allow you to get deleted contacts because they are actually deleted from the local database tables.

In order fo…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@vestrel00
Comment options

@vestrel00
Comment options

Answer selected by vestrel00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants