Updating the group a contact belongs to

General discussions about Automagic and automation in general

Moderator: Martin

Post Reply
atuguesp
Posts: 7
Joined: 21 Oct 2013 02:29

Updating the group a contact belongs to

Post by atuguesp » 29 Mar 2015 14:29

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.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Updating the group a contact belongs to

Post by Martin » 30 Mar 2015 19:10

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

atuguesp
Posts: 7
Joined: 21 Oct 2013 02:29

Re: Updating the group a contact belongs to

Post by atuguesp » 02 Apr 2015 21:05

Hi Martin, thanks, I am searching for a solution.

Regards,
Alfredo.

Post Reply