Anil M
Anil M

Reputation: 1307

Display pdf in webview of android

I'm displaying a pdf in webview using help of google docs, with this url, https://docs.google.com/gview?url=+location of pdf. It's breaking the pages and giving navigation icons on top right. Is there any way to display all the pages in single flow instead of breaking them.

enter image description here

In the image above, instead of showing in 10 different pages, i want the pdf to be displayed in single flow, I don't want to use navigation buttons on top right.

when &overridemobile=true is appended to URL, this image is being showed. enter image description here

Upvotes: 1

Views: 2021

Answers (1)

Benito Bertoli
Benito Bertoli

Reputation: 25793

You can append &overridemobile=true to the url.

Example:

https://docs.google.com/gview?url=www.example.com/example.pdf&overridemobile=true

This will override the mobile viewer and take you to the desktop version, which has a single flow.

Upvotes: 4

Related Questions