【发布时间】:2017-12-01 09:48:55
【问题描述】:
我正在尝试在 android 的 webview 中打开 pdf,
我尝试使用:
webView.loadUrl("https://docs.google.com/gview?embedded=true&url="+url)
如果 url 是 http://www.adobe.com/devnet/acrobat/pdfs/pdf_open_parameters.pdf(this 是一个示例),它的工作正常,
但如果 url 是 http://192.168.x.xxx:8001/ql/Demo/Demo_Rep_DDForm.pdf 它不会打开。
无法弄清楚原因,上面的IP是公开的。
【问题讨论】:
-
the above IP is public.?这看起来只是一个本地 IP。 -
这是我系统的本地 ip,其中运行 eclipses 服务器
-
你的评论不是重点。我希望你确认或否认或纠正自己。
-
它是一个本地 IP @greenapps
标签: android webview android-webview