【发布时间】:2016-06-06 02:36:54
【问题描述】:
我知道这个问题已经被问过很多次了,但我已经尝试了答案,但没有一个有效。这是我当前的意图过滤器
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*" android:scheme="http" />
</intent-filter>
我正在寻找的答案是android youtube: share a youtube video TO my app? 和How to appear my app in YouTube share via list?
但由于某种原因,它们不适合我。我尝试了许多替代方案,使用 android:host,使用不同的方案,特定的 mime 类型。单击共享到我的应用程序后,我只需要获取 youtube 视频的 url。 有什么想法吗?
【问题讨论】:
标签: android youtube share intentfilter