Mark contact from android ContactsContract list

I display android contact picker on some button click with folowing code:
private void OnAddContactClick(object sender, EventArgs e)
{
var contactPickerIntent = new Intent(Intent.ActionPick, ContactsContract.Contacts.ContentUri);
StartActivityForResult(contactPickerIntent, 1001);
}

protected override void OnActivityResult(int requestCode, Result resultCode, Intent data)
{
    if (resultCode != Result.Ok || requestCode != 1001)
        return;

    var cursor = ContentResolver.Query(data.Data, null, null, null, null);
    if (!cursor.MoveToFirst())
        return;

    var id = cursor.GetString(cursor.GetColumnIndex(ContactsContract.ContactsColumns.LookupKey));
    ...

Is there a way to put checkmark or some other icon to the item that user taped? So i want to send info to contact list that something is done with one of items and mark it somehow.

Sign In or Register to comment.