My Oracle Support Banner

Cannot Download PDF With af:fileDownloadActionListener Component Inside Android App WebView (Doc ID 2678563.1)

Last updated on JULY 01, 2021

Applies to:

Oracle JDeveloper - Version and later
Information in this document applies to any platform.


User uses an Android app with a WebView to access an ADF page with af:fileDownloadActionListener to download a PDF, but downloaded file cannot be opened by the PDF reader and may warn is a corrupted PDF.
Downloaded file actually is an HTML file the server returned with the .pdf extension, and the HTML page displays:

"This page uses JavaScript and requires a JavaScript enabled browser.Your browser is not JavaScript enabled."

This may have worked in ADF 11g, but it doesn't in 12c.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.