my app plays videos from URL when only default player is installed and when there are more than one it fails. I would like to show the dialog with the player installed like this picture http://mizuu.tv/wp-content/uploads/2012/07/default_video_player.jpg , I tried by following these posts to get the players installed android-list of installed media players , How to get a list of installed media players and how to get a list of installed video players programmatically? but it continues failing.
Thanks everybody in advance
This post has no answers Before play video ask about the video player to play
I tried by adding this code in Manifest to force to use MediaPlayer instead of to ask for video player because as the video is from internet the browser always apperars as player
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="video/*" />
<data android:mimeType="application/sdp" />
<data android:pathPattern=".*3gp" />
<data android:pathPattern=".*3GP" />
<data android:pathPattern=".*mp4" />
<data android:pathPattern=".*MP4" />
</intent-filter>