cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Hardy (JIRA)" <>
Subject [jira] [Commented] (CB-3325) Add PDF support to the InAppBrowser within Android
Date Tue, 05 May 2015 21:26:02 GMT


Ralph Hardy commented on CB-3325:

My client is not happy that the app we are developing is going to work differently on Android
v. iOS in terms of rendering PDFs that will be extracted from a CouchDB. I also feel the frustration
of having to find a workaround. 

So, please Apache Cordova Development Team, could you "up" the priority of this need and,
in the meantime, provide documentation of a JS workaround in the meantime?
Respectfully requested :)

> Add PDF support to the InAppBrowser within Android
> --------------------------------------------------
>                 Key: CB-3325
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>    Affects Versions: 2.6.0
>         Environment: Windows 7, Eclipse v3.8.0
>            Reporter: Kelvin Dart
>            Priority: Minor
>             Fix For: Master
> When I was making use of the ChildBrowser for both iOS and Android, I wrote an extra
bit of code to enable PDF support for the Android version (which started up the installed
PDF application if there was one).
> I also understand that the Android WebView doesn't natively support viewing a PDF document
which is why it doesn't fully behave like the iOS version - but is it possible to either:
1) write similar code which, if the opened URL is directed to a PDF file, then it opens the
native PDF reader or; 2) integrate a PDF view into the InAppBrowser which opens a PDF document
much like InAppBrowser does on iOS.
> (1) is what I currently have working at the moment and would probably be easiest. (2)
is what would be very good but I expect more difficult to achieve.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message