AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones de contacto (Lotus Notes o 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).

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
- ...
Versión mínima requerida
  • Versión 17
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 22/06/2023

Señalar un error o enviar una sugerencia | Ayuda local