ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Contact functions (Lotus Notes or Android/iPhone/iPad)
  • Special cases
  • 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
Opens the form of a contact in the device's native contacts application (Android, iPhone or iPad, Universal Windows).
Example
//Procedure used to display the contact selected in a Looper control
PROCÉDURE DisplayContact(nContactNum is int)
tContact is Contact
IF nContactNum <= gtabContacts.Count THEN
tContact = gtabContacts[nContactNum]
// Initializes the contact
VariableReset(gCurrentContact)
gCurrentContact = tContact
ContactDisplay(gCurrentContact)
END
Syntax

Displaying a contact from a Contact variable Hide the details

<Result> = ContactDisplay(<Contact>)
<Result>: Boolean
  • True if the form of the contact was opened,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Contact>: Contact variable
Name of the Contact variable corresponding to the contact to display. This contact must exist in the database of contacts.
Remarks

Special cases

  • ContactDisplay gives control back to the application once the contact form has been displayed.
  • ContactDisplay can be used in the emulator. It cannot be used in the simulator.
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.
Component: wdandroid.aar
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/21/2022

Send a report | Local help