Page 1 of 1

Updating the group a contact belongs to

Posted: 29 Mar 2015 14:29
by atuguesp
Hi Martin, how can I update the group a contact belongs to?. I can“t find the field in the content URI using the Excecute Root Command.

Regards,

Alfredo.

Re: Updating the group a contact belongs to

Posted: 30 Mar 2015 19:10
by Martin
Hi,

I fear that this is more complicated but I'm not even sure since I don't particularly like the contacts provider.
This page contains the documentation of the contacts provider: http://developer.android.com/guide/topi ... vider.html. I think you will first have to determine the ID of the group in question and then update or insert a new relationship to the group.

Regards,
Martin

Re: Updating the group a contact belongs to

Posted: 02 Apr 2015 21:05
by atuguesp
Hi Martin, thanks, I am searching for a solution.

Regards,
Alfredo.