My Oracle Support Banner

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

Last updated on JUNE 09, 2020

Applies to:

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

Symptoms

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.

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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