Reputation: 16587
I write my own player in android but in some part of the application, I need to let the users, to pick their own video player. For example, when user clicking on a video, inside my application, I need to show an Intent to pop-up and allow the user to choose it favorite video player, of course, next to my video player.
Upvotes: 1
Views: 74
Reputation: 10871
You need to setup proper intent-filter for your activity. It should look like this:
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="video/*" />
</intent-filter>
Upvotes: 2