Re: [android-developers] How to start media player to play HTTP stream?

2013-02-24 Thread Kristopher Micinski
Set yourself at a higher priority? Kris On Sun, Feb 24, 2013 at 4:42 PM, Ganesh BL wrote: > On an Android TV this is launching browser first and then it is trying to > open the intent, any clue? > How can i avoid browser launching? > > On Monday, January 10, 2011 9:22:18 PM UTC-8, Sarwar Erfan w

Re: [android-developers] How to start media player to play HTTP stream?

2013-02-24 Thread Ganesh BL
On an Android TV this is launching browser first and then it is trying to open the intent, any clue? How can i avoid browser launching? On Monday, January 10, 2011 9:22:18 PM UTC-8, Sarwar Erfan wrote: > > Intent i = new Intent(Intent.ACTION_VIEW); > *i**.setDataAndType(Uri.parse("**http://domain

Re: [android-developers] How to start media player to play HTTP stream?

2011-01-10 Thread Sarwar Erfan
Intent i = new Intent(Intent.ACTION_VIEW); *i**.setDataAndType(Uri.parse("**http://domain.name/test.mp4";), "video/*");* startActivity(i); Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

[android-developers] How to start media player to play HTTP stream?

2011-01-10 Thread Alex Xin
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);