-1

I want to save contacts in the device and Google both. Contact get added in device and Google both, but when I delete it from the device, its get deleted from Google also.

Vinit Poojary
  • 178
  • 1
  • 19
aditi
  • 21
  • 7

2 Answers2

0

If you want to save contacts programatically in Android device, you can follow this Github repo.

And to sync phone contacts and Google storage, you need to sync them under settings of the device.

Sushant Somani
  • 1,450
  • 3
  • 13
  • 31
0

You need to create a Contacts Sync Adapter. More details in documentation.

Cătălin Florescu
  • 5,012
  • 1
  • 25
  • 36