Dogbonesix Active Member Licensed User Longtime User Feb 17, 2017 #1 Is there a way to edit the display name in a contact list? Especially helpful correcting a typing error. It seems reasonably easy to change everything else except the display name.
Is there a way to edit the display name in a contact list? Especially helpful correcting a typing error. It seems reasonably easy to change everything else except the display name.
Erel B4X founder Staff member Licensed User Longtime User Feb 19, 2017 #2 You can use this sub (add it ContactUtils class): Code: Copy Public Sub SetDisplayName(Id As Long, Name As String) Dim values As ContentValues values.Initialize values.PutString("data1", Name) SetData("vnd.android.cursor.item/name", values, Id, True) End Sub Upvote 0
You can use this sub (add it ContactUtils class): Code: Copy Public Sub SetDisplayName(Id As Long, Name As String) Dim values As ContentValues values.Initialize values.PutString("data1", Name) SetData("vnd.android.cursor.item/name", values, Id, True) End Sub