我需要向我的AndroidManifest.xml添加什么才能打开我的应用程序?
有一个应用程序正在启动此意图,其中已经有我的包名,但我的应用程序从未打开我需要向我的AndroidManifest.xml添加什么才能打开我的应用程序?,android,android-intent,Android,Android Intent,有一个应用程序正在启动此意图,其中已经有我的包名,但我的应用程序从未打开 I/ActivityManager: START u0 {act=android.intent.action.VIEW dat=rtmp://ip swfUrl=http://ip/jwplayer.flash.swf live=1 token=�ey(nKa@ typ=video/* pkg=mypackage} from uid 10080 on display 0 在我的应用程序中,我已经有: &l
I/ActivityManager: START u0 {act=android.intent.action.VIEW dat=rtmp://ip swfUrl=http://ip/jwplayer.flash.swf live=1 token=�ey(nKa@ typ=video/* pkg=mypackage} from uid 10080 on display 0
在我的应用程序中,我已经有:
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<data
android:host="*"
android:scheme="rtmp"/>
<data
android:host="*"
android:scheme="rtmp"/>
</intent-filter>
以及:
为什么我的应用程序从未启动
谢谢
编辑:来自同一应用程序的其他共享意图可以正常工作,例如:
I/ActivityManager:START u0{act=android.intent.action.VIEW dat=http://ip/master.m3u8?b?b*显示0上uid 10080中的t$typ=video/*pkg=mypackage cmp=mypackage/.MyActivity}意图与活动关联,在哪里定义了意图过滤器?你能提供更多的清单吗?它们是在我的活动中定义的。我应该指出,它们对于与我的应用程序共享的大多数其他应用程序都很有效。例如,这个来自同一个应用程序的应用程序运行良好I/ActivityManager:START u0{act=android.intent.action.VIEW dat=http://ip/master.m3u8?b?b*t$typ=video/*pkg=mypackage cmp=mypackage/.MyActivity}来自显示0上的uid 10080
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<data android:mimeType="video/*"/>
</intent-filter>