Forum Post: RE: View PDF on an Android mobile app. Any ideas?

  • Thread starter Thread starter dhubbuck
  • Start date Start date
Status
Not open for further replies.
D

dhubbuck

Guest
Hi Ricardo I was actually thinking about the google docs viewer being inaccessible due to company internet policies but i'm sure we can work around that. Here's some feedback. Various options have been tried with different results on different devices: 1. Showing the pdf within an iframe using an HTML component. Works within the Chrome desktop browser on the PC but not on any android device. 2. Saving the file to the localFileSystem creates a pdf that can be opened on a Nexus 5 device but not on a cheap android 4.0 tablet. Also works on the desktop with Chrome when a special startup switch to enable saving to the local file system is used. 3. Using window.open("data:application/pdf;base64," + encodeURI(localStorage.getItem('loceDocData')),'_system'); works within Chrome on the desktop but not on the android devices. Did all your tests work with an Apple product? We don't currently have an Apple developer account but may need to investigate this in the future. My ideal solution would be to view the PDF without using the localFileSystem but I just can't seem to find out how. Time to tear my hair out I think! ;-) Thanks again for you help

Continue reading...
 
Status
Not open for further replies.
Back
Top