i use
[class] ContactsUtils - Provides read / write access to the stored contacts
link:http://www.b4x.com/android/forum/th...ad-write-access-to-the-stored-contacts.30824/
but
i use this code
Dim c As cuContact
c=cu.InsertContact("jim","1234567890")
ToastMessageShow(c.Id, False)
cu.AddPhone(c.Id,"87909877","home")
but got wrong
then i use this code
cu.AddPhone(c.Id,"87909877","1")
also got wrong
===============
logs show:
java.lang.IllegalArgumentException: Invalid column name_raw_contact_id
ps
logs show
error in
contactsutils_setdata (java line: 709)
[class] ContactsUtils - Provides read / write access to the stored contacts
link:http://www.b4x.com/android/forum/th...ad-write-access-to-the-stored-contacts.30824/
but
i use this code
Dim c As cuContact
c=cu.InsertContact("jim","1234567890")
ToastMessageShow(c.Id, False)
cu.AddPhone(c.Id,"87909877","home")
but got wrong
then i use this code
cu.AddPhone(c.Id,"87909877","1")
also got wrong
===============
logs show:
java.lang.IllegalArgumentException: Invalid column name_raw_contact_id
ps
logs show
error in
contactsutils_setdata (java line: 709)