我试图从Youtube应用程序接收意图。即当我按分享它应该列出我的应用程序准备接受这个意图的应用程序。但所有这些工作Youtube意向过滤器和计划
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
<data android:mimeType="video/*" />
<data
android:host="*"
android:scheme="youtube" />
<data
android:host="*"
android:scheme="vnd.youtube" />
</intent-filter>
或行动VIEW
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
<data android:mimeType="video/*" />
<data
android:host="*"
android:scheme="youtube" />
<data
android:host="*"
android:scheme="vnd.youtube" />
</intent-filter>
有关如何获得意图的任何想法,以及发送一次? 感谢
同样的情况,您是否找到解决方案? – cprcrack
您是否找到解决方案? – Dan