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); i.setData(Uri.parse("http://www.youtube.com/watch?v=780WhaR3RyQ")); startActivity(i); On Friday, 26 October 2012 11:28:57 UTC+5:30, Dilip Kumar Chaudhary wrote: > > > 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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en