如题,manifest加上
1 </intent-filter> 2 3 <intent-filter> 4 <action android:name="android.intent.action.VIEW" /> 5 <category android:name="android.intent.category.DEFAULT" /> 6 <category android:name="android.intent.category.BROWSABLE" /> 7 <data android:scheme="rtsp" /> 8 <data android:mimeType="video/*" /> 9 </intent-filter> 10 <intent-filter> 11 <action android:name="android.intent.action.VIEW" /> 12 <category android:name="android.intent.category.DEFAULT" /> 13 <category android:name="android.intent.category.BROWSABLE" /> 14 <data android:scheme="rtsp" /> 15 </intent-filter> 16 <intent-filter> 17 <action android:name="android.intent.action.VIEW" /> 18 <category android:name="android.intent.category.DEFAULT" /> 19 <category android:name="android.intent.category.BROWSABLE" /> 20 <data android:scheme="http" /> 21 <data android:mimeType="video/*" /> 22 </intent-filter> 23 <intent-filter> 24 <action android:name="android.intent.action.VIEW" /> 25 <category android:name="android.intent.category.DEFAULT" /> 26 <data android:mimeType="video/*" /> 27 </intent-filter> 28 <intent-filter> 29 <action android:name="android.intent.action.VIEW" /> 30 <category android:name="android.intent.category.DEFAULT" /> 31 <data android:scheme="file" /> 32 <data android:mimeType="video/*" /> 33 </intent-filter> 34 <intent-filter> 35 <action android:name="android.intent.action.SEARCH" /> 36 <category android:name="android.intent.category.DEFAULT" /> 37 </intent-filter>