You can create a custom Activity with a Webview on it. You can load
the youtube on the webview. My 2 cents.

Cheers
Sudheer

On Jan 4, 10:49 am, sanjay <[email protected]> wrote:
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to