ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Mobile specific functions / Phone 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
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.
CheckUserIDentityAllows you to check the real identity of the current user via biometrics check.
DeepLinkProcedureDefines the WLanguage procedure executed when the user clicks on a deep link.
GetThemeGets the current theme of a mobile application.
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 into the system bar of device (Android) or into the notification center (iOS).
NotifDeleteDeletes a notification displayed in the system bar of the device.
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).
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 site, 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:
- NFC
- Multimedia control
- Brightness
- Volume
- Wi-Fi
- Bluetooth
- Toast
- Compass
- Accelerometer
- Camera control
- LED
- 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…
Comments
Click [Add] to post a comment

Last update: 06/23/2023

Send a report | Local help