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

Members online

Forum statistics

Threads
956,245
Messages
6,967,194
Members
3,163,495
Latest member
moniraakter