Read contacts that have linked Contacts information on iPhone

16 views
Skip to first unread message

CODENAME1

unread,
Dec 8, 2016, 5:24:31 AM12/8/16
to CodenameOne Discussions
Contacts are shown more than once, if they are linked.

Shai Almog

unread,
Dec 9, 2016, 12:19:01 AM12/9/16
to CodenameOne Discussions

niketk...@gmail.com

unread,
Dec 9, 2016, 11:30:25 AM12/9/16
to CodenameOne Discussions
but I am still able to see multiple contacts of the same account . I took the latest build.

Steve Hannah

unread,
Dec 9, 2016, 1:06:08 PM12/9/16
to codenameone...@googlegroups.com
You can use the getLinkedContactIds() method to get a list of linked contacts for any given contact.  You can use this to filter your list and prevent duplicates.

Steve

--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsub...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f7a11c99-1e4b-4d84-922a-ddab072448b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Steve Hannah
Software Developer
Codename One

Shai Almog

unread,
Dec 10, 2016, 1:34:09 AM12/10/16
to CodenameOne Discussions
Steve, what would "getAllContacts()" return?

Steve Hannah

unread,
Dec 10, 2016, 10:23:32 AM12/10/16
to codenameone...@googlegroups.com
As far as I recall, it would return all of the contacts, including duplicates. 

On Fri, Dec 9, 2016 at 10:34 PM, Shai Almog <shai....@gmail.com> wrote:
Steve, what would "getAllContacts()" return?

--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsub...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages