PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Special cases
  • Required permissions
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 calendars available on the mobile device (Android/iOS).
// Fill a List Box control with the calendars available on the device
arrCalendar is array of Calendar
arrCalendar = AppointmentListCalendar()
FOR EACH Calendar OF arrCalendar
ListAdd(LIST_List1, Calendar.Name)
END
Syntax

Listing the available calendars Hide the details

<Result> = AppointmentListCalendar()
<Result>: Array of Calendar variables
Array of Calendar variables initialized with the list of available calendars.
If an error occurred, the array is empty and the ErrorOccurred variable is set to True. To get more details on the error, use ErrorInfo.

Listing the calendars that correspond to the specified filters Hide the details

<Result> = AppointmentListCalendar(<Filter> , <Sought value>)
<Result>: Array of Calendar variables
Array of Calendar variables initialized with the list of available calendars.
If an error occurred, the array is empty and the ErrorOccurred variable is set to True. To get more details on the error, use ErrorInfo.
<Filter>: Integer constant
Property on which the list of calendars must be filtered:
aptAccountNameFilters on the name of the account to which the calendar belongs. A "Contains" search is performed.
aptAccountTypeFilters on the type of the account to which the calendar belongs. A "Contains" search is performed.
aptIdentifierFilters on the identifiers of calendars. An exact-match search is performed.
aptNameFilters on the name of the calendar. A "Contains" search is performed.
<Sought value>: Character string
Value sought in the filtered properties of calendar. This search is not case sensitive.
Remarks

Special cases

  • Android AppointmentListCalendar can be used in the emulator but not in the simulator.
  • To list the appointments found in a calendar, use AppointmentList.
Android

Required permissions

The call to this function modifies the permissions required by the application.
Required permission: READ_CALENDAR
This permission allows the application to read the calendar data of the user.
Component: wd280android.aar
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment