Help / WLanguage / WLanguage functions / Mobile specific functions / Phone functions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
The following functions are used to manage the phone:
AndroidActivityResultProcedureAllows you to specify the procedure to be called to get the result returned by a third-party Activity.
AppleAdvertisingIdentifierReturns the device's advertising identifier (iOS only).
AppleRequestTrackingAuthorizationAsynchronousDisplays the permission request for user activity tracking.
AppleSignInUsed to implement authentication via "Sign In with Apple" on devices running on iOS 13 and higher.
AppleTrackingAuthorizationStatusDetermines if the app has been allowed to track activity based on user data (iOS only).
BrightnessAutoReturns or modifies the activation status of the automatic adjustment of the brightness on the device.
BrightnessGetReturns the current setting of the brightness for the screen of the device.
BrightnessModifyModifies the setting of the brightness for the device screen.
ChangeThemeIs used to change, through programming, the theme (dark or light) used by the mobile application.
CheckUserIDentityChecks the identity of the current user using biometric authentication.
DeepLinkProcedureDefines the WLanguage procedure executed when the user clicks on a deep link.
New in version 2024
Displays the license agreement of the WINDEV Mobile framework or framework libraries in a new window.
GetThemeGets the current theme of a mobile application.
New in version 2024
Enables users to log in to an application using a Google account registered on the device, without entering a username and password.
New in version 2024
Dissociates the application from the user's Google account. This association must have been previously defined with GglAccountAssociate.
iOSApplicationOpenURLProcedureAllows you to specify the procedure to be called when the application needs to open a resource identified by a URL.
LEDSwitchOffSwitches the LED (Light-Emitting Diode) of the device off.
LEDSwitchOnSwitches the LED (Light-Emitting Diode) of the device on.
MobileNetworkConnectionInfoReturns information regarding the current connection to data on the mobile network.
MobileNetworkStatusReturns the current status of the connection to data on the mobile network or asks to be notified when the status of the connection to data changes.
NotifAddAdds a notification to the system bar (Android) or notification center (iOS).
NotifDeleteRemoves a notification from the system bar.
NotifDeleteCategoryDeletes a notification category from the application.
NotifListCategoryLists the notification categories of the application.
NotifModifyModifies a notification currently displayed in the system bar of the device.
NotifPushDisableDisables the management of push notifications for a WINDEV Mobile application (Android or IOS).
NotifPushEnableEnables the management of push notifications in a WINDEV Mobile application (Android or iOS).
NotifPushListInvalidIdentifiersReturns the list of invalid identifiers on the APN service of Apple.
NotifPushProcedureSpecifies the WLanguage procedure called when a push notification is received by a WINDEV Mobile application (Android or iOS).
NotifPushSendSends a push notification to a mobile device (iOS or Android).
New in version 2024
Sends a notification to Android devices that are subscribed to a topic.
New in version 2024
Subscribes the current Android application to a topic.
New in version 2024
Unsubscribes an application from a topic.
PowerStatusUsed to get various information about the battery (main or secondary) of the device on which the application is running.
RecorderActionRuns an action on the recorder or dictaphone found on the current device.
ScreenSizeReturns the size (in inches) of the diagonal of the screen on the device where the application is run.
ScreenTypeReturns the type of screen on which the application is run: phone, tablet, computer or watch.
SIPVisibleDisplays the keyboard.
tapiDialerCallOpens the default telephony application (dialer) found on the phone and dials the specified number.
tapiDialerDisplayOpens the default telephony application (dialer) and displays the specified number. No call is made.
VibrationStopStops the vibrations of the device (even if they have been triggered by another application).
VibrationTriggerTriggers the vibrations of the device.
VolumeGetRetrieves the current setting of the volume for a sound source.
VolumeModifyModifies the setting of the volume for a sound source.
VolumePhysicalButtonIdentifies or modifies the sound source associated with the physical buttons used to set the volume of the device.
WEBDEV - Server code Remark: To display a notification on a browser from a WEBDEV website, use NotificationDisplay.
Related Examples:
WM System Cross-platform examples (WINDEV Mobile): WM System
[ + ] This application is an example of some of the features of WINDEV Mobile available for Android/iOS.
The following system functions are used:
- Multimedia control
- Brightness
- Volume
- Wi-Fi
- Bluetooth
- Toast
- Compass
- Accelerometer
- Camera control
- Vibration
- Notifications
- Drawing functions
- Internet
WM FTP Client Cross-platform examples (WINDEV Mobile): WM FTP Client
[ + ] This example is an FTP Client for Android and iOS.
It explains how to interact with an FTP server via the FTP functions of WLanguage.
It is used to:
- Rename files
- Delete files
- Create folders
- Download files
- Send files to the server
WM Push Cross-platform examples: WM Push
[ + ] This example shows how to receive Push notifications.
It calls the PushNotifActive function and returns the identifier to "WD Push Server", which stores it.
Then, the "Send Push" example reads this identifier and sends Push notifications to this example.
Send Push Cross-platform examples: Send Push
[ + ] This example allows you to send push notifications to Android and iOS devices.
It retrieves the identifiers of the mobile devices in the HFSQL database of the "WD Push Server" example, then sends the notifications via the NotifPushSend function.
WD_Push_Server Cross-platform examples: WD_Push_Server
[ + ] This example is a webservice used to store the identifiers required to sent Push notifications to mobile devices.
The "WM Push" application stores the Push identifiers in the database of this example.
The "WD Send Push" example then reads these identifiers in order to send the notifications.
Minimum version required
  • Version 16
This page is also available for…
Click [Add] to post a comment

Last update: 04/30/2024

Send a report | Local help