0

I am creating application is like Viber or Whatsapp.

I want to create contact list from system's contact list in mobile. The new contact list will get all contacts and create new list with some additional attributes. The new list will store in new database and sync to my server.

How can i extend Contacts Provider attributes and store in new database?

Any solution for this case?

Viral Patel
  • 32,418
  • 18
  • 82
  • 110
  • 1
    Make sure you search for possible answers. This http://stackoverflow.com/questions/4739159/can-i-extend-androids-contacts-database looks similar. – Mike Gorski Jan 16 '16 at 15:55
  • 1
    Thanks @MikeGorski. I saw answers of the question. But it is not what i need. I want to create new contacts list with some more attributes in new database. I do not use system's Contacts Provider. – Thinh Huynh Jan 16 '16 at 16:07
  • why do you want to duplicate data which sooner or later will go out of sync? why not to add the custom attributes only? – pskink Jan 16 '16 at 16:22
  • Thanks @pskink, If we add custom attributes to system's contacts, this changes contact details. I do not want this. I want keep system's contact. Data go out of sync. That's sure. I accept it. – Thinh Huynh Jan 17 '16 at 14:59
  • `If we add custom attributes to system's contacts, this changes contact details` what do you mean: "this changes contact details" ? – pskink Jan 17 '16 at 15:02
  • @pskink, when we add custom attributes system's contract. The contact list default of system will change attributes. I do not want change those. I need to add custom attributes by new contact list that keep the contact list default. Thanks! – Thinh Huynh Jan 18 '16 at 18:32
  • i still have no idea what you mean... – pskink Jan 18 '16 at 18:37

0 Answers0