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
Adds a notification into the system bar of device (Android) or into the notification center (iOS).
Android Example:
Then, the notification can be expanded to display its details.
Versions 20 and later
From Android 4.1 (Jelly Bean, api level 16), additional actions can be associated with a notification. These actions are represented as buttons located below the message of the notification.
Example of notification with two additional actions, "Respond" and "Delete":
New in version 20
From Android 4.1 (Jelly Bean, api level 16), additional actions can be associated with a notification. These actions are represented as buttons located below the message of the notification.
Example of notification with two additional actions, "Respond" and "Delete":
From Android 4.1 (Jelly Bean, api level 16), additional actions can be associated with a notification. These actions are represented as buttons located below the message of the notification.
Example of notification with two additional actions, "Respond" and "Delete":
Versions 19 and later
iPhone/iPad The notification will be visible in the notification center only if the application is in background (for example, using the position tracking in background with geoTrackingEnable).
New in version 19
iPhone/iPad The notification will be visible in the notification center only if the application is in background (for example, using the position tracking in background with geoTrackingEnable).
iPhone/iPad The notification will be visible in the notification center only if the application is in background (for example, using the position tracking in background with geoTrackingEnable).
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Android Widget This function is now available in Android Widget mode.
Versions 19 and later
iPhone/iPad This property is now available for the reports in the iPhone/iPad applications.
New in version 19
iPhone/iPad This property is now available for the reports in the iPhone/iPad applications.
iPhone/iPad This property is now available for the reports in the iPhone/iPad applications.
Example
notif is Notification
notif..Title = "New incoming message"
notif..Message = "Click here to display the message"
NotifAdd(notif)
Syntax
<Result> = NotifAdd(<Notification>)
<Result>: Boolean
  • True if the notification was added,
  • False otherwise.
Note: In the simulator, this function has no effect and it always returns False.
<Notification>: Notification variable
Name of Notification variable containing the description of the notification to display.
If this parameters corresponds to a notification that is already added, this notification will be updated. In this case, NotifAdd and NotifModify have the same effect.
Related Examples:
iOS System iPhone/iPad (WINDEV Mobile): iOS System
[ + ] This application is an example presenting the use of various features.
The features are as follows:
- Playing videos
- Trace in the logs
- Slider
- Popup control
- Hourglass
...
Android System Android (WINDEV Mobile): Android System
[ + ] This application is a tutorial example presenting some of the new features of WINDEV Mobile for Android.
The following system functions are used:
- NFC
- Multimedia control
- Brightness
- Volume
- WIFI
- Bluetooth
- Toast
- Progress Bar control
- 9-image mode
- Compass
- Accelerometer
- Camera control
- LED
- Vibrations
- Notifications
- Drawing functions
- Internet
Components
WEBDEV - Browser code WDJS.DLL
Android wd230android.jar
Minimum required version
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment