PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Special cases
  • Creating a contact (without using the creation window)
  • Required application feature
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Displays the window for contact creation of the native application for contact management found on the device (Android, iPhone or iPad, Universal Windows).
Example
Syntax

Creating a contact and initializing the Contact variable Hide the details

<Result> = ContactCreate([<Contact>])
<Result>: Boolean
  • True if a contact was created,
  • False otherwise. To get more details on the error, use ErrorInfo.
Universal Windows 10 App
  • True if the user interface is displayed,
  • False otherwise.
<Contact>: Contact variable
Name of the Contact variable containing the data of the new contact.
Remarks

Special cases

  • If the user creates a new contact, the Contact structure or the Contact variable is automatically populated with the details of this new contact.
  • Universal Windows 10 App ContactCreate is a non-blocking function.
  • ContactCreate can be used in the emulator. It cannot be used in the simulator.

Creating a contact (without using the creation window)

To create a new contact programmatically (without opening any window):
  1. Describe the contact using the Contact variable.
  2. Use the ContactAdd function.
Universal Windows 10 App

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.
Business / UI classification: Business Logic
Component: wd280android.aar
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment