PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Starts the application to which a Widget belongs.
Example
// Start the Android application on the search window by passing in parameter
// the value you want to find
WidgetRunApp(WIN_Find, "value")
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 "Declaration of global variables" process of window to open. This parameter is passed by address and it is considered as being a variable global to the specified window.
Note: 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" process of the window to open. This parameter is passed by address and it is considered as being a variable global to the specified window.
Note: Only the simple types can be passed to the window (string, integer, boolean, etc.)
Remarks
  • WidgetRunApp 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.
Components
Android wd230android.jar
Minimum required version
  • Version 18
Comments
Click [Add] to post a comment