Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using pdf.js locally for offline viewing on Android

530 views
Skip to first unread message

Ryan Eade

unread,
Mar 26, 2013, 4:53:03 PM3/26/13
to
Would it be possible to use pdf.js to display a local PDF using an Android WebView? I am developing an app that needs to display a PDF that is included in the app without the use of a network connection. In my testing today, it fails to display the PDF, I assume due to the cross-domain issues. I have pdf.js along with a local html file and a pdf file in my application. Are there any changes I need to make to pdf.js to make this work?

Thanks,
Ryan Eade

jame...@gmail.com

unread,
Apr 23, 2013, 10:50:32 AM4/23/13
to
Hi Ryan

This is exactly what I need to do also. Did you manage to make it work?

James

Mathan Rajendran

unread,
May 27, 2013, 2:57:40 PM5/27/13
to
Me too want the same..It seems I need to read the doc as uinit8array and feed it to pdf js...
0 new messages