ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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).
You can define and change the characteristics of this source 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
// Liste les comptes Google du téléphone
tabSource is array of ContactSource = ContactListSource()
IF NOT ErrorOccurred THEN
	FOR EACH ELEMENT source OF tabSource
		IF tabSource.Type = " com.google " THEN
			// Traitement 
		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).

iPhone/iPadIOS WidgetMac Catalyst Remarks:
  • The source cannot be modified.
  • A contact can only have one source.

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: 05/24/2024

Send a report | Local help