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.
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
Starts the application to which a widget belongs.
Example
// Lance l'application Android sur la fenêtre de recherche en lui passant en paramètre
// la valeur recherchée
WidgetRunApp(FEN_Recherche, "valeur")
Syntax

Starting the associated Android application Hide the details

<Result> = WidgetRunApp()
<Result>: Boolean
  • True if the Android application containing the current Widget window was started,
  • False otherwise.

Starting the application while specifying the window to open Hide the details

<Result> = WidgetRunApp([<Window name> [, <Parameter 1> [... [, <Parameter N>]]]])
<Result>: Boolean
  • True if the Android application containing the current Widget window was started,
  • False otherwise.
<Window name>: Optional character string (with or without quotes)
Name of the application window to open when starting the application.
<Parameter 1>: Type of value sent to the window (optional)
First parameter that will be passed to the "Global declarations" event of the window to open. This parameter is passed by reference and is considered as a global variable to the specified window.
Remark: Only the simple types can be passed to the window (string, integer, boolean, etc.)
<Parameter N>: Type of value sent to the window (optional)
Nth parameter that must be passed to the "Global declarations" event of the window to open. This parameter is passed by reference and is considered as a global variable to the specified window.
Remark: Only the simple types can be passed to the window (string, integer, boolean, etc.)
Remarks
  • The WidgetRunApp function can only be used in Widget mode.
  • The application will be started in a process different from the one in which the widget is run.
Component: wd270android.jar
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment