Monday, January 3, 2011

[android-developers] How to play youtube videos within custom android activity

Hi,

I am able to play youtube videos by

startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://
www.youtube.com/watch?v=cxLG2wtE7TM")));

But this leave my application and starts the player activity where I
have no control, How can I play youtube videos within my activity, as
I have to provide the user some option menu?

Let me know how can I achieve this.

Thanks
Sanjay Ujjainkar

--
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

No comments:

Post a Comment