I am creating one android test application , in which i have one button. On button click ,i want to synchronize phonebook records with my local database.If record in phone book is not in db table then insert it , otherwise leave it as it is. so how can i do this?
Share
For getting contact list from your phone book you need write permission in
AndroidManifest.XML(i.e.android.permission.READ_CONTACTS) .And you can collect contact list using following method.And Let me know if are having any issue in getting contact list.