• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

How to download PDF in webview

Are you using your own webview, or is your app using the built in Android System Webview?

I have tried using multiple different webviews, and Android System Webview is by far the best and most efficient.
 
Are you using your own webview, or is your app using the built in Android System Webview?

I have tried using multiple different webviews, and Android System Webview is by far the best and most efficient.

I'm using the sketchware app builder and using the webview in that application.

Not sure which one it actually used...

Regards
 
Hi,

What I'm hoping to do is to add some additional features (links) which link to other web pages on separate sites.

I just don't understand why when I use the webview in the app the app downloads a copy of the page you're on but when I navigate to the site externally the browser (chrome, Firefox etc) download the payslip as it's supposed to.

There must be something that's not configured correctly in the 'on activity create'. But no-one can offer an answer as to why it's doing it ...
 
Yeah.
Well, developing an app is one thing.

Getting one to work is a other.

Getting one that works and is secure enought to use for your work is yet another still.

The browsers I put links to above are all FOSS, Free Open Source Software- so that means that you can feel free to decompile, inspect, and see why your app differs in respect to downloading.

Anyway, try setting one of them up as I mentioned, an see what happens.

I suggest starting out with Lightning.
 
Back
Top Bottom