Android Get Group of Contact by ID
-
I have a contact ID, how do I get the group the contact is assigned to? I am sure it is something to do with the Contacts.Groups class but I cannot figure it out. Thanks, Isaac
-
Answer:
In GroupMembership.PERSON_ID yo have the ID of the Person, and in the same table GroupMembership.GROUP_ID you have the ID of the group. You can retrieve the groups with the Contacts.Groups. Remember that in every "table" there is and unique ID to identify the row. Hope this helps. (Im working on it too)
Isaac Waller at Stack Overflow Visit the source
Related Q & A:
- Is it possible to post something on a facebook group using android?Best solution by Stack Overflow
- How do I get Browser's tab unique id?Best solution by Stack Overflow
- How can you get back a contact on MSN that you deleted and blocked?Best solution by Yahoo! Answers
- What if I get caught with a fake ID in Vegas?Best solution by quora.com
- How do you get rid of contact mail for Yahoo mail?Best solution by help.yahoo.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.