Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have used Google Document Viewer to open PDF files in my Android device. A black screen with "No Preview Available" text is shown, instead of opening my PDF files. I have tested with sample PDF files from Google. They are working fine, but not my PDF files. Is there anything that i need to do from code side to view my PDF.

http://docs.google.com/viewer?url=myurl.pdf

enter image description here

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
361 views
Welcome To Ask or Share your Answers For Others

1 Answer

Had a file that showed this problem. Renamed it to remove blanks in the file name, updated my link and it worked. Note that blanks were properly HTML encoded as %20 so this 'fix' shouldn't be necessary. But, I can't argue with success. Good luck.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...