Help / WLanguage / WLanguage functions / Communication / Appointment functions (Lotus Notes/Android/iOS)
  • Special cases
  • Application in the background: Specific case from Android 10
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Displays the window for appointment creation of native application for managing appointments found on the Android device.
apt is Appointment
IF AppointmentCreate(apt) THEN
Info(StringBuild("The %1 appointment was added to the %2 calendar", ...
apt.Name, apt.Calendar.Name))
<Result> = AppointmentCreate(<Appointment>)
<Result>: Boolean
  • True if an appointment was created,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Appointment>: Appointment variable
Name of Appointment variable that will be filled with the data corresponding to the created appointment.

Special cases

  • To create a new appointment through programming, without opening any window, use AppointmentAdd.
  • AppointmentCreate is a blocking function until the user validates or cancels the window for appointment creation.
  • AppointmentCreate can be used in the emulator but not in the simulator.
AndroidAndroid Widget

Application in the background: Specific case from Android 10

From Android 10, it is no longer possible to open a window when the application is in the background.
AppointmentCreate can open a window. If this function is used while the application is in the background, a fatal error will occur.
  • It is possible to determine if the application is in the background using InBackgroundMode.
  • If an application needs to interact with the user while it is in the background, the solution is to display a notification (via the Notification type). The application will be brought back to the foreground when the notification is clicked, if the ActivateApplication property is set to True. You can also open a window from the procedure passed to the ActionClick property.
Component: wd290android.jar
Minimum version required
  • Version 18
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help