PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • 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
Lists the sources (or accounts) of the contacts saved on the device.
Versions 18 and later
Android Widget This function is now available in Android widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 18
Android Widget This function is now available in Android widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android Widget This function is now available in Android widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 22 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 22
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Liste les comptes Google du téléphone
tabSource is array of ContactSource = ContactListSource()
IF NOT ErrorOccurred THEN
FOR EACH UneSource OF tabSource
IF UneSource.Type = "com.google" THEN
// Traitement ...
END
END
END
// Initialisation de la Zone répétée ZR_Sources
// Liste les sources
gtabContactSource = ContactListSource()
 
// Parcours des sources
FOR EACH UneSource OF gtabContactSource
LooperAddLine(ZR_Sources, UneSource.Nom, DonneTypeSource(UneSource.Type))
END
Syntax
<Result> = ContactListSource()
<Result>: Array of ContactSource variables
Array of ContactSource variables initialized with the list of sources (or accounts) for the contacts saved on the device.
In case of error, the Variable ErrorOccurred is to True. To get the details of the error, use ErrorInfo.
Remarks
Versions 22 and later
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.
New in version 22
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.
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.
Related Examples:
WM Managing Contacts Cross-platform examples (WINDEV Mobile): WM Managing Contacts
[ + ] This example presents the management of contacts for Android et iOS.
It is used o:
- list the contacts found on the phone
- call the contacts
- send SMSs to the contacts
- ...
Component: wd270android.aar
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment