Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin does not work with PDF's on an Android #33

Open
29er opened this issue May 1, 2013 · 4 comments
Open

plugin does not work with PDF's on an Android #33

29er opened this issue May 1, 2013 · 4 comments

Comments

@29er
Copy link

29er commented May 1, 2013

Has anyone succesfully gotten this to work, a PDF on an Android. specifically a local PDF, not a web url ?
It works fine on iOS but Android it is just a blank screen.
Thanks

@cemerson
Copy link

cemerson commented May 1, 2013

I feel your pain man. I'm working on a couple hacks of childbrowser for this purpose. Feel free to take a look at what I've got (only tested/geared towards iOS at the moment) - it can do what you're looking for but may need some clean-up/hacking for Android use. It's my first repo btw so apologies if its got "noob" written all over it.

https://github.com/cemerson/cordova-pdfbrowser

@29er
Copy link
Author

29er commented May 1, 2013

awesome ! I will give it a shot. thanks Chris !
Quick question, do I need to have a PDF viewer installed on the android for this to work?.
I was looking at the WebIntent plugin, combined with having Adobe PDF viewer installed on my galaxy s3. I was going to see if that works too.
Thanks for any info .

Doug

On May 1, 2013, at 10:54 AM, Chris Emerson wrote:

I feel your pain man. I'm working on a couple hacks of childbrowser for this purpose. Feel free to take a look at what I've got (only tested/geared towards iOS at the moment) - it can do what you're looking for but may need some clean-up/hacking for Android use. It's my first repo btw so apologies if its got "noob" written all over it.

https://github.com/cemerson/cordova-pdfbrowser


Reply to this email directly or view it on GitHub.

@cemerson
Copy link

cemerson commented May 1, 2013

AFAIK no you don’t. My hack of the childbrowser thing uses the native (webkit?) parsing of PDFs (Android has that too yes?) … my version just has some adjustments to handle PDFs instead of URLs.


Chris Emerson | 919-335-8480

From: Doug Wood [mailto:[email protected]]
Sent: Wednesday, May 01, 2013 1:11 PM
To: alunny/ChildBrowser
Cc: Chris Emerson
Subject: Re: [ChildBrowser] plugin does not work with PDF's on an Android (#33)

awesome ! I will give it a shot. thanks Chris !
Quick question, do I need to have a PDF viewer installed on the android for this to work?.
I was looking at the WebIntent plugin, combined with having Adobe PDF viewer installed on my galaxy s3. I was going to see if that works too.
Thanks for any info .

Doug

On May 1, 2013, at 10:54 AM, Chris Emerson wrote:

I feel your pain man. I'm working on a couple hacks of childbrowser for this purpose. Feel free to take a look at what I've got (only tested/geared towards iOS at the moment) - it can do what you're looking for but may need some clean-up/hacking for Android use. It's my first repo btw so apologies if its got "noob" written all over it.

https://github.com/cemerson/cordova-pdfbrowser


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/33#issuecomment-17292584.

@29er
Copy link
Author

29er commented May 1, 2013

gotcha, thanks. I am gonna give it a shot.

On May 1, 2013, at 11:13 AM, Chris Emerson wrote:

AFAIK no you don’t. My hack of the childbrowser thing uses the native (webkit?) parsing of PDFs (Android has that too yes?) … my version just has some adjustments to handle PDFs instead of URLs.


Chris Emerson | 919-335-8480

From: Doug Wood [mailto:[email protected]]
Sent: Wednesday, May 01, 2013 1:11 PM
To: alunny/ChildBrowser
Cc: Chris Emerson
Subject: Re: [ChildBrowser] plugin does not work with PDF's on an Android (#33)

awesome ! I will give it a shot. thanks Chris !
Quick question, do I need to have a PDF viewer installed on the android for this to work?.
I was looking at the WebIntent plugin, combined with having Adobe PDF viewer installed on my galaxy s3. I was going to see if that works too.
Thanks for any info .

Doug

On May 1, 2013, at 10:54 AM, Chris Emerson wrote:

I feel your pain man. I'm working on a couple hacks of childbrowser for this purpose. Feel free to take a look at what I've got (only tested/geared towards iOS at the moment) - it can do what you're looking for but may need some clean-up/hacking for Android use. It's my first repo btw so apologies if its got "noob" written all over it.

https://github.com/cemerson/cordova-pdfbrowser


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/33#issuecomment-17292584.

Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants