Skip to content

How do I delete RawContacts that have a specific Organization.company data? #157

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

You must be logged in to vote

To answer your question effectively, it would be useful for you to read the "Contacts Provider / ContactsContract Basic Concept" section in this how-to/guide; https://github.com/vestrel00/contacts-android/blob/main/howto/howto-learn-more-about-api-entities.md

The rest of this answer assumes that you have a basic understanding of the one to many relationship between Contacts -> RawContacts -> Data.

I'll breakdown this answer using my favorite problem and solution style. Please let me know if I formulated the problem incorrectly. The answer will be incorrect if the problem is not accurate 😄

Problem

Given the following tables,

## Contacts
Contact_Id: 1, DisplayName: "Apple"
Contact_Id: 2, Di…

Replies: 3 comments 24 replies

Comment options

You must be logged in to vote
5 replies
@amoshalava
Comment options

@amoshalava
Comment options

@vestrel00
Comment options

@amoshalava
Comment options

@vestrel00
Comment options

Comment options

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

@amoshalava
Comment options

@vestrel00
Comment options

Answer selected by amoshalava
Comment options

You must be logged in to vote
16 replies
@amoshalava
Comment options

@vestrel00
Comment options

@vestrel00
Comment options

@amoshalava
Comment options

@vestrel00
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation question Further information is requested
2 participants