PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Required application feature
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Lists the sources (or accounts) of the contacts saved on the device.
Note: This function can be used from Android 2.0.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the 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 the iPhone/iPad applications.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the 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
// Lists the Google accounts of the phone
arrSource is array of ContactSource = ContactListSource()
IF NOT ErrorOccurred THEN
FOR EACH ASource OF arrSource
IF ASource..Type = "com.google" THEN
// Process ...
END
END
END
// Initialize the looper named LOOP_Sources
// Lists the sources
garrContactSource = ContactListSource()

// Browse the sources
FOR EACH ASource OF garrContactSource
LooperAddLine(LOOP_Sources, ASource..Name, GiveSourceType(ASource..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.
The ErrorOccurred variable is set to True if an error occurred. To find out the error details, use ErrorInfo.
Remarks
Versions 22 and later
Universal Windows 10 App

Required application feature

The use of this function triggers the declaration of an application feature in the wizard for generating the application.
Required feature: Contacts
This feature allows the applications to access the contacts.
New in version 22
Universal Windows 10 App

Required application feature

The use of this function triggers the declaration of an application feature in the wizard for generating the application.
Required feature: Contacts
This feature allows the applications to access the contacts.
Universal Windows 10 App

Required application feature

The use of this function triggers the declaration of an application feature in the wizard for generating the application.
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
- ...
Minimum required version
  • Version 17
Comments
Click [Add] to post a comment