简体   繁体   English

URL方案:使用意图:URI方案:打开(启动)Google Drive App,打开特定的文件夹(不是文件)

[英]URL Scheme: Using the intent: URI scheme: Open (Launch) Google Drive App, opening a specific folder (not a file)

There is a great example on how to open a "Document" 关于如何打开“文档”有一个很好的例子

URL Scheme: How can I create a link, which will open a document in the Google Drive app 网址方案:如何创建链接,该链接将在Google云端硬盘应用中打开文档

But I am trying to "Launch" the "Drive App" on my Android Tablet, and open a specific folder... 但是我试图在我的Android平板电脑上“启动”“ Drive App”,并打开一个特定的文件夹...

This works for a document: 这适用于文档:

intent://docs.google.com/document/d/1zSzDnV-90Ke3dzCCJ2CZ6iQ3JQ3F1hL1udGDqbNwwbY/edit?usp=sharing#Intent;scheme=https;action=android.intent.action.VIEW;category=android.intent.category.DEFAULT;category=android.intent.category.BROWSABLE;package=com.google.android.apps.docs;end

Any thoughts on launching "Drive"? 关于启动“云端硬盘”有什么想法吗? AND, Drive is opened at a specific folder... 并且,驱动器在特定文件夹中打开...

Try this: 尝试这个:

intent://drive.google.com/drive/u/0/mobile/folders/0B0BUJdH_r3v5b1pPUVFmV

Replace the last bit with your folder id 将最后一位替换为您的文件夹ID

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM