createContact with more arguments

9 views
Skip to first unread message

lookslike...@gmail.com

unread,
Jun 2, 2016, 8:45:35 PM6/2/16
to CodenameOne Discussions
Hello there,

I see that the Contact class is rich enough to represent multiple email addresses, and a note field,  but unfortunately,  Display.createContact doesn't have any arguments for those fields. How would I go about creating rich contacts on the phone?

Thank you,
Charles

Shai Almog

unread,
Jun 3, 2016, 12:59:39 AM6/3/16
to CodenameOne Discussions, lookslike...@gmail.com
Hi,
mobile contacts API's are a HUGE mess across devices. We narrowed it down to the least amount of pain we could.

You can use native interfaces to do this but it's a world of pain which is why we didn't do it ourselves. The main issue is that getting something to work on one device is OK, but getting it everywhere and for every edge case is much harder.
Reply all
Reply to author
Forward
0 new messages