|
|
|
|
|
DownloadList (Function) In french: TéléchargementListe Lists the downloads from the current application in the download manager. Remark: Download functions will have no effect in the simulator.
// Populate TABLE_Download with the list of requested downloads TableDeleteAll(TABLE_Download) Â Â ListOfDownloads is array of DownloadInfo = DownloadList() FOR EACH InfoDownload OF ListOfDownloads TableAddLine(TABLE_Download, InfoDownload.Identifier, InfoDownload.Title) END Â IF TABLE_Download.Count > 0 THEN TABLE_Download = 1 END
Syntax
<Result> = DownloadList()
<Result>: Array of DownloadInfo Array of DownloadInfo variables that corresponds to the downloads from the application, present in the download manager. Remarks Required permissions The call to this function modifies the permissions required by the application. Required permission : INTERNET This permission allows the applications to open the network sockets.
Related Examples:
|
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: wd270android.aar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|