PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Operating mode in iOS
  • Operating mode in Android
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
HourglassNetwork (Function)
In french: SablierRéseau
Displays or hides an endless progress bar:
  • in the status bar of an iOS application.
  • in the title bar of windows found in an Android application.
Example
// Display the progress bar
HourglassNetwork(True)
// Process
...
Multitask(-1)
...
// Hide the progress bar
HourglassNetwork(False)
Syntax
HourglassNetwork(<Activation>)
<Activation>: Boolean
  • True to enable the endless progress bar.
  • True to hide the endless progress bar.
Remarks
iPhone/iPad

Operating mode in iOS

0.
It is recommended to use the function HourglassNetwork when the application performs long network operations (e.g. data transfer via a wireless network, ...).. In this case, this function should be used rather than Hourglass.
Remark: We advise you to add calls to Multitask in the code in order to give time to the progress bar to refresh its display.
Android

Operating mode in Android

If the function HourglassNetwork is called with the activation parameter True, the endless gauge will be displayed in the title bar (or the ActionBar) of all open windows of the application as well as all next open windows until the next call of the function HourglassNetwork with the activation parameter False.
Notes:
  • When running long processes, we advise you to add calls to Multitask in the code in order to give time to the progress bar to refresh its display.
  • It is also possible to use the Hourglass. In this case, the endless progress bar is displayed in a specific window.
  • The display of progress bars in the ActionBar using the Material Design them is not supported by the system. HourglassNetwork will have no effect if the window contains an ActionBar control and if "Enable the Material Design theme" was checked in the options of the Android configuration.
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
Business / UI classification : UI Code
Component : wd260android.aar
Minimum version required
  • Version 19
Comments
Click [Add] to post a comment