PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

  • Android calendar
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
Adds an appointment:
  • Versions 18 and later
    AndroidAndroid Widget into the calendar found on an Android device.
    New in version 18
    AndroidAndroid Widget into the calendar found on an Android device.
    AndroidAndroid Widget into the calendar found on an Android device.
  • Versions 21 and later
    iPhone/iPad into the calendar found on an iOS device.
    New in version 21
    iPhone/iPad into the calendar found on an iOS device.
    iPhone/iPad into the calendar found on an iOS device.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Android Widget This function is now available in Android Widget mode.
Versions 21 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 21
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
AndroidAndroid Widget
gAPT is Appointment
gCal is Calendar
arrCalendar is array of Calendar
// Retrieves the list of calendars
arrCalendar = AppointmentListCalendar()
gCal = arrCalendar[1]

// Add a new appointment into the first calendar
gAPT..Title = EDT_Title
gAPT..StartDate = EDT_StartDate + EDT_StartTime
gAPT..EndDate = EDT_EndDate + EDT_EndTime
gAPT..Location = EDT_Location
gAPT..Content = EDT_Desc
IF EDT_TimeZone <> "" THEN
gAPT..TimeZone = EDT_TimeZone
END
gAPT..Author = EDT_Author
gAPT..Guest = EDT_Guests
gAPT..WholeDay = CBOX_WholeDay[1]

IF AppointmentAdd(gCal, gAPT) THEN
ToastDisplay("APT added")
ELSE
Error(ErrorInfo())
END
New in version 18
AndroidAndroid Widget
gAPT is Appointment
gCal is Calendar
arrCalendar is array of Calendar
// Retrieves the list of calendars
arrCalendar = AppointmentListCalendar()
gCal = arrCalendar[1]

// Add a new appointment into the first calendar
gAPT..Title = EDT_Title
gAPT..StartDate = EDT_StartDate + EDT_StartTime
gAPT..EndDate = EDT_EndDate + EDT_EndTime
gAPT..Location = EDT_Location
gAPT..Content = EDT_Desc
IF EDT_TimeZone <> "" THEN
gAPT..TimeZone = EDT_TimeZone
END
gAPT..Author = EDT_Author
gAPT..Guest = EDT_Guests
gAPT..WholeDay = CBOX_WholeDay[1]

IF AppointmentAdd(gCal, gAPT) THEN
ToastDisplay("APT added")
ELSE
Error(ErrorInfo())
END
AndroidAndroid Widget
gAPT is Appointment
gCal is Calendar
arrCalendar is array of Calendar
// Retrieves the list of calendars
arrCalendar = AppointmentListCalendar()
gCal = arrCalendar[1]

// Add a new appointment into the first calendar
gAPT..Title = EDT_Title
gAPT..StartDate = EDT_StartDate + EDT_StartTime
gAPT..EndDate = EDT_EndDate + EDT_EndTime
gAPT..Location = EDT_Location
gAPT..Content = EDT_Desc
IF EDT_TimeZone <> "" THEN
gAPT..TimeZone = EDT_TimeZone
END
gAPT..Author = EDT_Author
gAPT..Guest = EDT_Guests
gAPT..WholeDay = CBOX_WholeDay[1]

IF AppointmentAdd(gCal, gAPT) THEN
ToastDisplay("APT added")
ELSE
Error(ErrorInfo())
END
AndroidAndroid Widget iPhone/iPad
gAPT is Appointment
gCal is Calendar
arrCalendar is array of Calendar
// Retrieves the list of calendars
arrCalendar = AppointmentListCalendar()
gCal = arrCalendar[1]

// Add a new appointment into the first calendar
gAPT..Title = EDT_Title
gAPT..StartDate = EDT_StartDate + EDT_StartTime
gAPT..EndDate = EDT_EndDate + EDT_EndTime
gAPT..Location = EDT_Location
gAPT..Content = EDT_Desc
IF EDT_TimeZone <> "" THEN
gAPT..TimeZone = EDT_TimeZone
END
gAPT..Author = EDT_Author
gAPT..Guest = EDT_Guests
gAPT..WholeDay = CBOX_WholeDay[1]

IF AppointmentAdd(gCal, gAPT) THEN
ToastDisplay("APT added")
ELSE
Error(ErrorInfo())
END
Syntax

Adding an appointment into the calendar of a Lotus Notes ou Outlook messaging Hide the details

<Result> = AppointmentAdd(<Session identifier>)
<Result>: Boolean
  • True if the addition was performed,
  • False otherwise. To find out the error details, use ErrorInfo.
<Session identifier>: Integer
Identifier of session to use. This identifier is returned by one of the following functions: EmailStartNotesSession, EmailStartOutlookSession, NotesOpenDatabase or OutlookStartSession.
Versions 18 and later
AndroidAndroid Widget This syntax is available from version 180046.

Adding an appointment into a calendar found on an Android device Hide the details

<Result> = AppointmentAdd(<Calendar> , <Appointment>)
<Result>: Boolean
  • True if the addition was performed,
  • False otherwise. To find out the error details, use ErrorInfo.
<Calendar>: Calendar variable
Name of the Calendar variable corresponding to the Android calendar into which the appointment will be added.
<Appointment>: Appointment variable
Name of the Appointment variable corresponding to the appointment that will be added into the specified calendar on the Android device.
New in version 18
AndroidAndroid Widget This syntax is available from version 180046.

Adding an appointment into a calendar found on an Android device Hide the details

<Result> = AppointmentAdd(<Calendar> , <Appointment>)
<Result>: Boolean
  • True if the addition was performed,
  • False otherwise. To find out the error details, use ErrorInfo.
<Calendar>: Calendar variable
Name of the Calendar variable corresponding to the Android calendar into which the appointment will be added.
<Appointment>: Appointment variable
Name of the Appointment variable corresponding to the appointment that will be added into the specified calendar on the Android device.
AndroidAndroid Widget This syntax is available from version 180046.

Adding an appointment into a calendar found on an Android device Hide the details

<Result> = AppointmentAdd(<Calendar> , <Appointment>)
<Result>: Boolean
  • True if the addition was performed,
  • False otherwise. To find out the error details, use ErrorInfo.
<Calendar>: Calendar variable
Name of the Calendar variable corresponding to the Android calendar into which the appointment will be added.
<Appointment>: Appointment variable
Name of the Appointment variable corresponding to the appointment that will be added into the specified calendar on the Android device.
AndroidAndroid Widget iPhone/iPad

Adding an appointment into a calendar found on an Android/iOS device Hide the details

<Result> = AppointmentAdd(<Calendar> , <Appointment>)
<Result>: Boolean
  • True if the addition was performed,
  • False otherwise. To find out the error details, use ErrorInfo.
<Calendar>: Calendar variable
Name of the Calendar variable corresponding to the Android/iOS calendar into which the appointment will be added.
<Appointment>: Appointment variable
Name of the Appointment variable corresponding to the appointment that will be added into the specified calendar on the Android/iOS device.
Remarks
Versions 18 and later
AndroidAndroid Widget

Android calendar

  • AppointmentAdd can be used in the emulator but not in the simulator.
  • AppointmentAdd is available for the devices running an Android version greater than or equal to version 4.0 (api level 14). A fatal error occurs if the function is used with an earlier system version.
    Reminder: To find out the version of Android system on which the application is run, use SysAndroidVersion.
New in version 18
AndroidAndroid Widget

Android calendar

  • AppointmentAdd can be used in the emulator but not in the simulator.
  • AppointmentAdd is available for the devices running an Android version greater than or equal to version 4.0 (api level 14). A fatal error occurs if the function is used with an earlier system version.
    Reminder: To find out the version of Android system on which the application is run, use SysAndroidVersion.
AndroidAndroid Widget

Android calendar

  • AppointmentAdd can be used in the emulator but not in the simulator.
  • AppointmentAdd is available for the devices running an Android version greater than or equal to version 4.0 (api level 14). A fatal error occurs if the function is used with an earlier system version.
    Reminder: To find out the version of Android system on which the application is run, use SysAndroidVersion.
Component : wd250com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment