- Special case
- Required permissions
- Required application feature
In french: ContactAjoute
Adding a contact to the device's contact list Hide the details
<Result> = ContactAdd(<Contact> [, <Source>])
- True if the addition was performed,
- False otherwise. To get more details on the error, use ErrorInfo with the errMessage constant.
<Contact>: Contact variable
Name of the Contact variable corresponding to the contact to add.
<Source>: Optional ContactSource variable
Name of the ContactSource variable corresponding to the source or to the account into which the contact will be added. If this parameter is not specified, the contact will be associated with no account.
To display the New Contact window in the device's native Contacts application, use ContactCreate
Calling this function changes the permissions required by the application.
Required permission: WRITE_CONTACTS
This permission allows the application to write (without reading) the data of the user contacts.
Required application feature
When this function is used, an application feature is declared in the application generation wizard.
Required feature: Contacts
This feature allows the applications to access the contacts.
This page is also available for…