FinestWebView-Android icon indicating copy to clipboard operation
FinestWebView-Android copied to clipboard

setWebViewClient to webView

Open fncapps opened this issue 8 years ago • 5 comments

Hi, I've been some days looking for methods in order to be able to download from the webview.

I have found a workaround based on WebClient but I first need to be able to do webView.setWebViewClient();

Could you add this functionality soon please? Thanks a lot!

EDIT: in fact I just need the shouldOverrideUrlLoading() not the whole WebViewClient I'm trying to develop this feature, in a couple of hours I'll send a pull request

fncapps avatar Feb 16 '16 21:02 fncapps

Hi @fncapps, can you tell me how you want to overrideUrlLoading? What kind of code you want to run on shouldOverrideUrlLoading() event?

TheFinestArtist avatar Feb 17 '16 16:02 TheFinestArtist

The idea was to look at the end of the URL for any kind of mimetype and start a download manager request if it was supposed to be downloaded.

The thing is that I recently found out this does not work with web pages that use php for example to trigger the download, so it is unnecessary.

The problem is that the method onStartDownload doesn't work neither.

fncapps avatar Feb 17 '16 17:02 fncapps

I need it too

HamedGh avatar Oct 25 '16 12:10 HamedGh

Same here. No way to make custom WebViewClient... :/

Cililing avatar Apr 24 '19 08:04 Cililing

Up voting for the request.

IreshMM avatar Jul 06 '19 18:07 IreshMM