We are developing an Android app which must render pdf files stored on server in mobile browser (Chrome) through google docs viewer. URL of files are passed to the viewer in the following manner:
https://docs.google.com/viewer?embedded=true&url=<public URL of pdf file>
However, it is observed that the files is rendered as html and not as pdf. What could be the issue?