I want to search the contact list to get a particular contact using _ID or LOOKUP_KEY. Which one of these two is better and the reason. It will be really helpful if you give the main differences of both.
Asked
Active
Viewed 150 times
0
-
http://developer.android.com/reference/android/provider/ContactsContract.ContactsColumns.html#LOOKUP_KEY check this out – Saqib Mar 06 '14 at 07:01
1 Answers
0
_ID - Row ID. Consider using LOOKUP_KEY instead.
LOOKUP_KEY - An opaque value that contains hints on how to find the contact if its row id changed as a result of a sync or aggregation.
So when in case the contacts RowID change for any reason LOOKUP_KEY is our way to go. Check this link on how to find it as this is not there on Docs I guess.

Community
- 1
- 1

Atul O Holic
- 6,692
- 4
- 39
- 74