M
M
MODifikaTOR2017-04-13 11:07:13
Java
MODifikaTOR, 2017-04-13 11:07:13

How to change an existing contact via the Contacts API?

I am making a contact book. You can change the contact name and number (for starters). How can I edit an existing contact? Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
one pavel, 2017-04-13
@MODifikaTOR18

Using the ContentResolver, you get the contact data
. Fill in the ContentValues ​​with the necessary data.
Then write the changes to the resolver
https://developer.android.com/reference/android/pr...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question