ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Mobile specific functions / Download functions
  • Required permissions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Cancels a download by removing it from the download manager, and deletes any existing files.
Note: Download functions have no effect in the simulator.
Example
// Supprime le téléchargement ayant nId comme identifiant
DownloadRemove(nId)
Syntax
<Result> = DownloadRemove(<Identifier>)
<Result>: Boolean
  • True if the file was deleted,
  • False otherwise.
<Identifier>: Integer
Identifier of the download (returned by DownloadAdd).
Remarks

Required permissions

This function changes the permissions required by the application.
Permission required: INTERNET
This permission allows the applications to open the network sockets.
Related Examples:
Android Downloads Android (WINDEV Mobile): Android Downloads
[ + ] This example illustrates background downloads in WINDEV Mobile and Android.
It is no longer necessary to keep the application open to propose the download of a file. The download manager allows you to download large files and to notify the application when the downloads are finished.
Component: wd300android.aar
Minimum version required
  • Version 27
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help