ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Mobile specific functions / Widget functions
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
// Start the Android application on the search window by passing as 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
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
  • 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.
Component: wd290android.jar
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help