Hi All ,
Today myself and @ILoveThunkable release the Version 2 of the Extended WebViewer extension. This version includes support for downloading files that can't be viewed directly in a Web Viewer.
This event indicates that the content in the URL pointed cannot be viewed and needs to be downloaded . The event also provides additional info required to download a file using DownloadFile block .
content length is the size of the file to be downloaded in bytes.
contentDisposition is a header that is received from the server and contains necessary information to name the file automatically if the filename is left blank in DownloadFile block
This function can be used to download a file using the default Download Manager of Android. Use this function in the OnDownloadNeeded to event to download a file .
Leave the filename empty to automatically name the file based on the information from the server
Set this true to show notification of the download after completion.
Note that a notification is always shown while the download is in progress. This block is only used to determine whether a notification is shown after completion .
Also the After Reload event is deprecated with this version as it was not accurate and fired before the webpage was completely reloaded. Use OnLoadingFinished block instead.
Version 2 of the Extended Webviewer Extension :
com.ghostfox.moliata.ExtendedWebViewer.aix (14.6 KB)
If you have any questions, suggestions or encountered any bugs, feel free to post them here !