【发布时间】:2018-12-28 10:59:15
【问题描述】:
我的谷歌驱动器帐户中有一些 PDF 文件,所以我如何使用 Intent 或 webview 在 android studio 中查看这些 pdf 文件。我怎么能做到这一点。
public String co="https://drive.google.com/file/d/1kr3y_2EI8-uyDeMI5DpMFLnMQDVqI-3Z/view?usp=sharing"
webview.loadURL(co);
此代码不起作用。
【问题讨论】:
-
您可以尝试搜索 Google Drive Intent 并通过 Intent 或 Content Resolver 直接在 Drive 应用中打开文件
标签: android