PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Android calendar
  • Required permissions
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
Deletes:
  • WINDEVWEBDEV - Server code the current appointment from the calendar of a Lotus Notes or Outlook messaging.
    Reminder: This function cannot be used to delete the current appointment from the calendar of an Outlook Express messaging.
  • Versions 18 and later
    AndroidAndroid Widget an appointment from the calendar found on an Android device.
    New in version 18
    AndroidAndroid Widget an appointment from the calendar found on an Android device.
    AndroidAndroid Widget an appointment from the calendar found on an Android device.
  • Versions 21 and later
    iPhone/iPad an appointment from the calendar found on an iOS device.
    New in version 21
    iPhone/iPad an appointment from the calendar found on an iOS device.
    iPhone/iPad an appointment from 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 iPhone/iPad applications.
New in version 21
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Example
WINDEVWEBDEV - Server code
// Start a Lotus Notes session
SessionID is int
SessionID = EmailStartNotesSession("Password", "MarsServer", ...
"email/julia.nsf", "C:\Lotus Notes\julia.id")
// Read the last appointment
AppointmentLast(SessionID)
// Delete the appointment
AppointmentDelete(SessionID)
Versions 18 and later
AndroidAndroid Widget iPhone/iPad
// Deletes the appointment corresponding to the identifier <25>
arrAPT is array of Appointment
arrAPT = AppointmentList(MyCalendar, aptIdentifier, 25)
IF arrAPT.Count > 0 THEN
AppointmentDelete(arrAPT[1])
END
New in version 18
AndroidAndroid Widget iPhone/iPad
// Deletes the appointment corresponding to the identifier <25>
arrAPT is array of Appointment
arrAPT = AppointmentList(MyCalendar, aptIdentifier, 25)
IF arrAPT.Count > 0 THEN
AppointmentDelete(arrAPT[1])
END
AndroidAndroid Widget iPhone/iPad
// Deletes the appointment corresponding to the identifier <25>
arrAPT is array of Appointment
arrAPT = AppointmentList(MyCalendar, aptIdentifier, 25)
IF arrAPT.Count > 0 THEN
AppointmentDelete(arrAPT[1])
END
Syntax

Deleting the current appointment from the calendar of a Lotus Notes or Outlook messaging Hide the details

<Result> = AppointmentDelete(<Session identifier> [, <Appointment identifier>])
<Result>: Boolean
  • True if the deletion was performed,
  • False otherwise. To find out the name of the error, use the function ErrorInfo with the constant errMessage.
<Session identifier>: entier
Identifier of session to use. This identifier is returned by one of the following functions: EmailStartNotesSession, EmailStartOutlookSession, NotesOpenDatabase or OutlookStartSession.
<Appointment identifier>: String (with quotes) optional
Versions 25 and later
Identifier of the appointment to be deleted. This identifier is found in the mAppointment.ID variable.
New in version 25
Identifier of the appointment to be deleted. This identifier is found in the mAppointment.ID variable.
Identifier of the appointment to be deleted. This identifier is found in the mAppointment.ID variable.
AndroidAndroid Widget iPhone/iPad

Deleting an appointment from the calendar found on a mobile device (Android/iOS) Hide the details

<Result> = AppointmentDelete(<Appointment>)
<Result>: Boolean
  • True if the deletion was performed,
  • False otherwise. To get the details of the error, use ErrorInfo.
<Appointment>: Appointment variable
Name of the variable of type Appointment corresponding to the appointment to be deleted in the Calendar of the mobile device (Android/iOS).
Remarks
Versions 18 and later
AndroidAndroid Widget

Android calendar

AppointmentDelete can be used in the emulator but not in the simulator.
New in version 18
AndroidAndroid Widget

Android calendar

AppointmentDelete can be used in the emulator but not in the simulator.
AndroidAndroid Widget

Android calendar

AppointmentDelete can be used in the emulator but not in the simulator.
Versions 18 and later
AndroidAndroid Widget

Required permissions

The call to this function modifies the permissions required by the application.
Required permissions:
  • READ_CALENDAR: This permission allows the application to read the calendar data of the user.
  • WRITE_CALENDAR: This permission allows the application to write the calendar data of the user.
New in version 18
AndroidAndroid Widget

Required permissions

The call to this function modifies the permissions required by the application.
Required permissions:
  • READ_CALENDAR: This permission allows the application to read the calendar data of the user.
  • WRITE_CALENDAR: This permission allows the application to write the calendar data of the user.
AndroidAndroid Widget

Required permissions

The call to this function modifies the permissions required by the application.
Required permissions:
  • READ_CALENDAR: This permission allows the application to read the calendar data of the user.
  • WRITE_CALENDAR: This permission allows the application to write the calendar data of the user.
Business / UI classification: Business Logic
Component: wd260com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment