Discussion:
Display all installed media player
Dilip Kumar Chaudhary
2012-10-26 05:56:28 UTC
Permalink
I have to display installed media player for play url link coming from
server(RTSP)just like chooser for select using which player u want to play
your video.Already i have done this types of work in which vodeo source was
sdcard so i used following code.

*Intent intent = new Intent(android.content.Intent.ACTION_VIEW);
File newFile = new File(videoFilePath);
intent.setDataAndType(Uri.fromFile(newFile), MiME_TYPE);
startActivity(intent);*

its working properly in case of sdcard but now my video source is
server(RTSP Link).So can any tell me how to do this.Thanks
--
*Thanks & Regards*
Dilip Kumar Chaudhary
My Linkedin Profile<http://in.linkedin.com/pub/dilip-kumar-chaudhary/44/64/55b>
My Development Blog <http://dilipdevelopment.blogspot.com/>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-***@googlegroups.com
To unsubscribe from this group, send email to
android-developers+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
djhacktor
2012-10-26 07:46:39 UTC
Permalink
What i get from your question you want to to play video when user click on
particular link if that so then i think this will work

Intent i = new Intent(Intent.ACTION_VIEW);



startActivity(i);
Post by Dilip Kumar Chaudhary
I have to display installed media player for play url link coming from
server(RTSP)just like chooser for select using which player u want to play
your video.Already i have done this types of work in which vodeo source was
sdcard so i used following code.
*Intent intent = new Intent(android.content.Intent.ACTION_VIEW);
File newFile = new File(videoFilePath);
intent.setDataAndType(Uri.fromFile(newFile), MiME_TYPE);
startActivity(intent);*
its working properly in case of sdcard but now my video source is
server(RTSP Link).So can any tell me how to do this.Thanks
--
*Thanks & Regards*
Dilip Kumar Chaudhary
My Linkedin Profile<http://in.linkedin.com/pub/dilip-kumar-chaudhary/44/64/55b>
My Development Blog <http://dilipdevelopment.blogspot.com/>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-***@googlegroups.com
To unsubscribe from this group, send email to
android-developers+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
Loading...