Good day. There is a piece of code:
ContentValues value = new ContentValues(); value.put(Contacts.People.DISPLAY_NAME, "ФИО"); getContentResolver().update(Contacts.People.CONTENT_URI, value, Contacts.People._ID + "=?", new String[]{String.valueOf(id)}); //id - long типа
It seems that everything corresponds, as in the example from Android developers . However, the error is:
java.lang.UnsupportedOperationException: Cannot update URL: content: // contacts / people
Tell me what am I doing wrong?