How does my phone know what to sync?

Discussion in 'Motorola Droid 2 Development' started by abhoward9, Nov 29, 2010.

  1. abhoward9

    abhoward9 Member

    Joined:
    Nov 25, 2010
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    okay so i've been flashing a few roms recently to see what i liked best, but i've been wondering, how does my device know what to sync? for example: if i flash a new rom, my contact list starts off as being empty, but it quickly syncs with my gmail account, and my contact list fills up. but when i add a new contact on my phone after that, i can look at my phone contacts in gmail, and it will appear in there. how is it that my contact list doesnt try syncing with the list on my newly flashed phone and delete all the contacts?
     
  2. mwhartman

    mwhartman Super Moderator/RS
    Premium Member

    Joined:
    Jan 15, 2010
    Messages:
    10,737
    Likes Received:
    12
    Trophy Points:
    453
    Location:
    South FL
    Ratings:
    +12
    Your Google account contains your contacts and gmail. I have a Droid so my experience may be different. Tap menu, tap settings, tap accounts & sync. Tap my Gmail, tap contacts, email, and picasa.

    Mike
     
  3. abhoward9

    abhoward9 Member

    Joined:
    Nov 25, 2010
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    sorry, but thats really not even close to what i was asking...

    here:
    If I add a contact on my phone, I can go to gmail and see that it has been added there
    If i go to gmail on my computer and add a contact there, it will show up on my phone
    So it syncs both ways
    Now, if I flash a new ROM, how is it that my phone knows to take the contacts that are in Gmail, instead of Gmail seeing that my phone has no contacts and syncing to that and deleting all my contacts?
     
  4. jstafford1

    jstafford1 Super Moderator
    Rescue Squad

    Joined:
    Nov 15, 2009
    Messages:
    11,336
    Likes Received:
    1,667
    Trophy Points:
    573
    Location:
    Hebron, Oh.
    Ratings:
    +1,809
    Twitter:
    jstaff79
    When you flash the new ROM I assume you are wiping data. Therefore when you log in for the first time its loading contacts from your gmail to the phone.

    When its just you adding or deleting it goes both ways but the initial login its loading from google. So anything tied to you gmail upon reactivating will get loaded when you first log in on your phone.

    Sent from somewhere...
     
  5. mwhartman

    mwhartman Super Moderator/RS
    Premium Member

    Joined:
    Jan 15, 2010
    Messages:
    10,737
    Likes Received:
    12
    Trophy Points:
    453
    Location:
    South FL
    Ratings:
    +12
    Sorry if I miscommunicated. Let me try again. Your contacts are associated with your Google account. When you flash a new rom you wipe your data and cache. When you reactive by reentering your google account the phone and your google account begin communicate and look and compare entries. At this point the phone has no entries, therefore, the information in google is transferred to the phone.

    It is like a thermos. How does it know to keep the liquid hot or cold?
     
  6. abhoward9

    abhoward9 Member

    Joined:
    Nov 25, 2010
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Ah i see, thank you for the explanation
     
  7. abhoward9

    abhoward9 Member

    Joined:
    Nov 25, 2010
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    well thermos's work because they use magic... obviously

    but yea i get it now, thanks
     
  8. mwhartman

    mwhartman Super Moderator/RS
    Premium Member

    Joined:
    Jan 15, 2010
    Messages:
    10,737
    Likes Received:
    12
    Trophy Points:
    453
    Location:
    South FL
    Ratings:
    +12
    Google uses the same magic, I think! :)
     
Search tags for this page

how do i know if my phone is sybced to google