Android – the bandwidth limit for viewing PDF files in WebView is reached through Google Documents

I have an Android application that uses the link prefix of Google doc in WebView to display PDF files from links. Sometimes, not often, instead of displaying content in WebView, it displays:

Google's support page tells that the bandwidth limit is 300 MB per hour, but the problem is that the size of my PDF file is 300-400 KB, which is not even displayed once. How can I avoid this problem? Or suggest any other way to display PDF from the link, if possible. Thank you

resolvent:

As the original poster hoped, the comment is the answer:

Google documents are likely to be calculated based on the size of the rendered document (a little reasonable; they render PDF and provide it as Google Docs documents). In this case, no matter how small or large the PDF is, you can easily get 1 MB per page. If you process the prepared printed PDF file, you can easily fill in the hourly quota

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>