Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4103854
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T21:00:45+00:00 2026-05-20T21:00:45+00:00

I am looking for a way to associate some data to all the contacts

  • 0

I am looking for a way to associate some data to all the contacts of the phone, and thus I have been trying to deal with the ContactsContract.RawContacts.Data Class but I couldn’t get something to work.

More over, I thought I could use the LookupKey as a Primary key in a DB >_< it seems I was wrong about the purpose of this key, as all my contacts have it set on 550. (wrong query ?) Could anyone give me a clue/further explanation about the purpose of the LookupKey ?

Basically, my app looks for the name of the contact on a server, and i should store the contact+data in that particular DB if the name was found on the server.

The DB thing could be avoided if I manage to get the ContactsContract.RawContacts.Data Class to do what i want, right ?

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T21:00:46+00:00Added an answer on May 20, 2026 at 9:00 pm

    The lookup key is used when your app needs to maintain references to contacts. The reason you have to use a lookup key instead of the regular contact row id is that contacts can get aggregated or manually joined, making your id references point nowhere.

    It should be fairly straightforward to sync your app contacts with android. Here you have a working example for the last.fm application and this great tutorial on the android developers’ web.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for some way to effectively hide inherited members. I have a library
I have recently been looking at Core Data for the iPhone and I have
Ive been all over looking for a way to disable the network adapter through
Howdy! I am looking for a way to list all of the image files
I've been using mySQL for an app for some time, and the more data
I'm looking for the best way to display all rows from two tables while
I'm looking for a fast way to turn an associative array in to a
I'm looking for way to PHP to detect if a script was run from
I am using the jquery-ui-dialog plugin I am looking for way to refresh the
I looking for a way, specifically in PHP that I will be guaranteed to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.