PDF Download from Webview not working

geekonweb

New Member
Licensed User
Longtime User
Hi Guys

I am embedding below URL in a webview

Online HTML to PDF Converter - Mobile Version

After click of convert button, url entered in the textbox gets converted to PDF format. This works perfectly fine when I am using the page in default browser but when I use the same by embedding inside the webview it doesn't work .

Not sure whether it is a limitation of webview or I am missing something.
=============

PHP: Copy
'Activity module
Sub Process_Globals
   'These global variables will be declared once when the application starts.
   'These variables can be accessed from all modules.

End Sub

Sub Globals
 Dim wv As WebView
End Sub
 
Sub Activity_Create(FirstTime As Boolean)
Activity.Title="HTML TO PDF Converter"
 wv.Initialize("")
 Activity.AddView(wv,0,0,100%x,100%y) 
 wv.JavaScriptEnabled=True
 wv.Enabled=True
 wv.LoadUrl("http://www.pdf.gen.in/pdfmobi.php")
End Sub


Sub Activity_Resume

End Sub

Sub Activity_Pause (UserClosed As Boolean)

End Sub

===============
 
Erel

I am aware of this and I am not expecting webview to display the PDF.

When I load the mentioned url under a webview I find the submit button already diasabled. I can't click it anyway.
 
Upvote 0
Back
Top