ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Contact functions (Lotus Notes or Android/iPhone/iPad)
  • Properties specific to ContactSource variables
  • Special cases
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
The ContactSource type is used to define the advanced characteristics of a source (or account) for the contacts (example: Google, Exchange, Facebook).
The characteristics of this source can be defined and changed using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Lists the Google accounts of the phone
arrSource is array of ContactSource = ContactListSource()
IF NOT ErrorOccurred THEN
FOR EACH ÉLÉMENT source OF arrSource
IF arrSource.Type = "com.google" THEN
// Process
END
END
END
Remarks

Properties specific to ContactSource variables

The following properties can be used to handle the source of contacts:
Property nameType usedEffect
NameCharacter stringName of the source or account. This property can correspond to an email address for a Google account ("lastname.firstname@gmail.com" for example).
TypeCharacter stringType of the source or account ("com.google" for a Google account).

Special cases

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 version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help