Hello everyone, does any one know how to create custom fields with this class, i have a list of contacts i need to download from an online service which dumps the data in CSV format, i have all this part figured out, but i need to add all this information to the device's contacts, i need to add 3 custom fields Player 1, Player 2, and Player 3, is there a way to create, i've tried to write a function copying the code to add Notes from the class but it doesn't seem to work.
Thanks in advanced for the help.
Regards,
Walter
B4X:
'Adds a player name to the custom field Player
Public Sub AddPlayer(Id As Long, player As String)
Dim v As ContentValues
v.Initialize
v.PutString("data1", player)
SetData("vnd.android.cursor.item/player", v, Id, True)
End Sub
Thanks in advanced for the help.
Regards,
Walter