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

how can we open the pdf selected from the android device #13

Open
ranasanyam opened this issue May 8, 2021 · 4 comments
Open

how can we open the pdf selected from the android device #13

ranasanyam opened this issue May 8, 2021 · 4 comments

Comments

@ranasanyam
Copy link

I can open the pdf with the url. But I can't open the pdf which I select from my android amulator. So how can I open the pdf.
I have also tried by converting the pdf url into base64 but can't open. How can I open.

@flyandi
Copy link
Owner

flyandi commented May 8, 2021

U need a compatible PDF software installed. Usually the Android Viewer automatically does that. What version of Android u running?

@ranasanyam
Copy link
Author

U need a compatible PDF software installed. Usually the Android Viewer automatically does that. What version of Android u running?

I have installed PDF software in my device.
Can you tell me in which format should I store the pdf file which I selected from my device on database

@flyandi
Copy link
Owner

flyandi commented May 8, 2021

Well the invocation is using the android link layer - so if your device is not setup for that - it may not work. But as I said, Android comes with an PDF viewer .. like I just tested it and it opens Android PDF view up right away.

Can u try to download a PDF and open it up that way - if that does not work that something might be busted on ur device.

@flyandi
Copy link
Owner

flyandi commented May 8, 2021

Oh to be clear I tested with a real device not the simulator.

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