Built-in front calls / Genero Mobile iOS front calls |
Lets the user input contact information to create a new entry in the contact database of the mobile device.
ui.Interface.frontCall("ios", "newContact", [defaults],[vcard])
The iOS "newContact" front call opens the contact input form on the mobile device, with default values passed in the vCard structure of the first parameter, lets the user enter contact information.
If the contact creation is validated, the front call returns the completed vCard string. If the contact import is canceled, the front-end returns NULL.
DEFINE defaults, vcard STRING LET defaults="BEGIN:VCARD\n" ||"VERSION:3.0\n" ||"N:Willi;;;;\n" ||"TEL;type=HOME;type=VOICE;type=pref:03812225610\n" ||"END:VCARD\n" CALL ui.interface.frontcall("ios","newContact",[defaults],[vcard])