0

I am building a app that imports the phone contacts' email to the app. Instead import the whole phone address book every time, I want only import the updated/created one after last updating time. Is there a way to do it?

I tried to look around but didn't find any related information.

Thanks in advance for your help.

craig65535
  • 3,439
  • 1
  • 23
  • 49
Zhao
  • 904
  • 1
  • 11
  • 34
  • probably, you need to remember the contact unique id, compare the mail value(s) and adopt changes.. – calimarkus Oct 12 '12 at 22:40
  • thanks for the advice. If this the case, I already have this functionality ready. It sounds more resource consuming. – Zhao Oct 12 '12 at 23:48

1 Answers1

0

Adding my comment as answer:
Probably, you need to remember the contact unique id, compare the mail value(s) and adopt changes..

Explanation:
Since the contacts API doesn't know, what you do with the data, there is no other way. Basically that's how updates work, right. Someone needs to know, what's already there. And in this case that's only your own code.

calimarkus
  • 9,955
  • 2
  • 28
  • 48