Intent intent = new Intent(Intent.ACTION_SEARCH);
intent.putExtra("query", "Android");
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
Try this. It will open a Resolver activity. When you choose Youtube,
it will show you video results for Android.
Thanks and Regards,
Kumar Bibek
On Mar 10, 10:22 am, "David" wrote:
> I searched "video intents', but did not match any documents by Google code
> search, can you show me some reference code on how to launch YouTube with
> special key words?
>
> Thanks,
>
> David
>
> _
>
> 发件人: android-developers@googlegroups.com
> [mailto:android-develop...@googlegroups.com] 代表 Mike Novak
> 发送时间: 2010年3月10日 11:17
> 收件人: android-developers@googlegroups.com
> 主题: Re: [android-developers] Where is the source project location of
> YouTube in Eclair?
>
> The YouTube application is not open source.Try a google code search for
> video intents.
>
> Mike
>
> On 03/09/2010 10:02 PM, android joy wrote:
>
> Hi All,
>
> I want launch the YouTube with specified video searching list at
> startup(e.g I want YouTube shows the vidoe list all releated with the key
> word "susan" and "U.S" in the first page.)
>
> so I downloaded all the source code of Elcair, but I can't find the
> source code for youtube.apk.
>
> would you please tell me where is the source project location, or is
> there a YuTube API can implement this feature?
>
> Thanks,
>
> Best Regards,
> David
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group
> athttp://groups.google.com/group/android-developers?hl=en
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group
> athttp://groups.google.com/group/android-developers?hl=en
--
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en