Make downloading of .pdf file through anchor tag inside webview

  • Thread starter Thread starter AC Question
  • Start date Start date
A

AC Question

Hello everyone,

I have called this html page in my webview using below code:

public static String currentURL = "http://mydomain.com/index.html";

In this html page i have an anchor tag with below code:

<a href="http://mydomain.com/test.pdf"><button class="btn btn-success btn-lg">Click here to Download</button></a>

But when i click on this download button nothing happens, and if i see the logcat it says:

singleCursorHandlerTouchEvent -getEditableSupport FASLE

Please suggest me the way to make this download possible. Its slightly urgent.

Thanks
Rohit
 

Trending Posts

Forum statistics

Threads
956,603
Messages
6,969,127
Members
3,163,585
Latest member
zolepso1