The android app I am working on consists of a webview.
On click of one of the links in the webview, an AJAX POST request is made to receive a PDF file.
At the moment, on clicking the pdf download link (on the webview), no pdf file is downloaded.
I tried to intercept the request by WebResourceResponse shouldIntercpetRequest(), but couldnt access the response header / pdf data.
What approach must be taken to display the pdf on an android device, received via the above method ?
Any help would be appreciated.
Thanks.