【问题标题】:How can I change the way the google docs website displays a PDF in Android?如何更改 google docs 网站在 Android 中显示 PDF 的方式?
【发布时间】:2011-02-24 09:57:32
【问题描述】:

我在WebView 中使用following link 在我的android 应用程序中显示pdf file

如您在所附图像中所见,此方法有效,并显示 PDF。我的问题是

我想禁用缩放控件、桌面和下载 链接。

这可能吗?如果可以,怎么做?

【问题讨论】:

标签: android google-docs google-docs-api


【解决方案1】:

您基本上是在打开一个 Web 视图并使用来自 Internet 的网页加载它,特别是 Google Docs。如果网站没有内置一些特殊功能,就无法摆脱您看到的额外按钮、链接和标签。取而代之的是,您可以将链接指向的 PDF 下载为 PDF 并尝试直接显示。有一个stack overflow question on this topic

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-03-24
    • 2011-08-26
    • 1970-01-01
    • 1970-01-01
    • 2012-01-02
    • 1970-01-01
    相关资源
    最近更新 更多