I followed this thread
https://www.b4x.com/android/forum/t...n-webview-and-how-to-download-pdf-file.66546/
And my code is:
but does nothing when trying to download.
Is this no longer supported or am I doing something wrong?
Thank you!
https://www.b4x.com/android/forum/t...n-webview-and-how-to-download-pdf-file.66546/
And my code is:
B4X:
Sub WebView1_OverrideUrl (Url As String) As Boolean
If Url.EndsWith(".pdf") Then
Dim j As HttpJob
j.Initialize("pdf", Me)
j.Download(Url)
Return True
Else
Return False
End If
End Sub
but does nothing when trying to download.
Is this no longer supported or am I doing something wrong?
Thank you!