[android-developers] Re: Reg playing youtube video in android

2009-02-11 Thread Harishkumar V
Dear All, playing youtube video from m.youtube.com from browser does not work in the emulator, it loads but does not play the video, but will this work i try the same in the device. Thanks and Regards, HarishKumar On Tue, Feb 10, 2009 at 5:52 PM, Harishkumar V harishpres...@gmail.comwrote:

[android-developers] Re: Reg playing youtube video in android

2009-02-10 Thread Harishkumar V
Dave, But will this work on real device, if i try to run m.youtube.com from browser. Thanks and Regards, HarishKumar On Tue, Feb 10, 2009 at 1:28 PM, Dave Sparks davidspa...@android.comwrote: I'm pretty sure this is due to the way the emulator handles UDP packets. There is an outstanding

[android-developers] Re: Reg playing youtube video in android

2009-02-09 Thread Harishkumar V
Michael, using browser running in the android in emulator mode, i launched http://m.youtube.com. it opened up a page contaning list of video files. when i click any one of them, it starts to load video, but finally it fails with the message, Sorry, this video cannot be played. using adb logcat,

[android-developers] Re: Reg playing youtube video in android

2009-02-09 Thread Dave Sparks
I'm pretty sure this is due to the way the emulator handles UDP packets. There is an outstanding bug about this, but no one has had time to work on it. On Feb 9, 10:59 pm, Harishkumar V harishpres...@gmail.com wrote: Michael, using browser running in the android in emulator mode, i

[android-developers] Re: Reg playing youtube video in android

2009-01-30 Thread Harishkumar V
Michael, Thanks , It really needs device, is there any mechanism to get something to run on emulator (ie) no need to play youtube video, just launching view intent. That is steps which can be runned on emulator to make sure something halfway works. also to check view intent is working. Any

[android-developers] Re: Reg playing youtube video in android

2009-01-30 Thread kolby
Here is the sample code to launch the view intent: Uri uri = Uri.parse(url); // check if others handle this url Intent intent = new Intent(Intent.ACTION_VIEW, uri); intent.addCategory(Intent.CATEGORY_BROWSABLE); try { if

[android-developers] Re: Reg playing youtube video in android

2009-01-29 Thread Harishkumar V
Dave, I tried to play via mediaplayer example given in the sdk with the YouTube video url (http://in.youtube.com/watch?v=l43Bbn2Xpwk), In mediaplayer_video.java file, path=http://in.youtube.com/watch?v=l43Bbn2Xpwk; it failed to play. Any modifications to be done in the mediaplayer to stream

[android-developers] Re: Reg playing youtube video in android

2009-01-29 Thread kolby
Dave, you can play youtube video by launching a View intent with the youtube video page url right now on the device (no cupcake or developer key required). It will launch the youtube player. The problem is, it doesn't work in the emulator, since there's no youtube app. Michael On Jan 28, 3:37 

[android-developers] Re: Reg playing youtube video in android

2009-01-29 Thread Marco Nelissen
On Thu, Jan 29, 2009 at 4:47 AM, Harishkumar V harishpres...@gmail.comwrote: Dave, I tried to play via mediaplayer example given in the sdk with the YouTube video url (http://in.youtube.com/watch?v=l43Bbn2Xpwk), That's not the URL of a video, it's the URL of a webpage which has a flash

[android-developers] Re: Reg playing youtube video in android

2009-01-29 Thread Dave Sparks
Interesting, I didn't know that made it to the 1.0 release. Thanks! On Jan 29, 6:48 am, kolby kolbys...@gmail.com wrote: Dave, you can play youtube video by launching a View intent with the youtube video page url right now on the device (no cupcake or developer key required). It will launch

[android-developers] Re: Reg playing youtube video in android

2009-01-28 Thread Dave Sparks
If you specifically want to play a YouTube video, you need to register as a YouTube developer to get the keys you need to access the Gdata feeds. I think that the Cupcake release will support a new intent for playing YouTube videos with the YouTube app, but it will be some time before that