[android-developers] How to start media player to play HTTP stream?
Hi,
I want to use Media Player to play a file which stored on HTTP server, I use following code to play it, but the browser came up and then the browser start the media player to play the file.
Intent i = new Intent(Intent.ACTION_VIEW,Uri.parse("http://domain.name/test.mp4"));
startActivity(i);
Does anybody know how to directly call the media player to play HTTP streaming content?
Thanks,
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home