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.
  • Special cases
  • Application in the background: Android 10 specific case
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
Displays an appointment in the native application for managing appointments found on the mobile device (Android or iOS).
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
IF NOT AppointmentDisplay(apt) THEN
Error("Unable to display the appointment.", ErrorInfo())
END
Syntax
<Result> = AppointmentDisplay(<Appointment>)
<Result>: Boolean
  • True if the appointment description was displayed,
  • False otherwise. To get the details of the error, use ErrorInfo.
<Appointment>: Appointment variable
Name of Appointment variable corresponding to the appointment whose description will be displayed. This appointment must exist and belong to an Calendar of the aircraft (obtained by the AppointmentList function).
Remarks

Special cases

  • The AppointmentDisplay function returns the hand to the application immediately after the description of the appointment is displayed in the native application.
  • Android AppointmentDisplay can be used in the emulator but not in the simulator.
Versions 25 and later
AndroidAndroid Widget

Application in the background: Android 10 specific case

From Android 10, it is no longer possible to open a window when the application is in the background.
AppointmentDisplay can open a window. If this function is used while the application is in the background, a fatal error will occur.
Tips:
  • 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.
New in version 25
AndroidAndroid Widget

Application in the background: Android 10 specific case

From Android 10, it is no longer possible to open a window when the application is in the background.
AppointmentDisplay can open a window. If this function is used while the application is in the background, a fatal error will occur.
Tips:
  • 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.
AndroidAndroid Widget

Application in the background: Android 10 specific case

From Android 10, it is no longer possible to open a window when the application is in the background.
AppointmentDisplay can open a window. If this function is used while the application is in the background, a fatal error will occur.
Tips:
  • 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.
Business / UI classification : Business Logic
Component : wd260android.jar
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment