It works for me, I checked with 3-4 queries.
Thanks and Regards, Kumar Bibek On Mar 12, 1:34 pm, "David" <[email protected]> wrote: > Got you and this article is great! > > But If you searched with YouTube by some keyword, even you changed the > keyword for the second time, YouTube won't renew the Result list, that means > on this way, YouTube will always shows the result list by the keyword which > inputted at the very first time. > > Thanks, > > Best Regards, > David > > -----邮件原件----- > 发件人: [email protected] > [mailto:[email protected]] 代表 Kumar Bibek > 发送时间: 2010年3月11日 20:12 > 收件人: Android Developers > 主题: [android-developers] Re: How to launch YouTube with specified keywords? > > Check this link > > http://tech-droid.blogspot.com/2010/03/youtube-intent-for-search-in-a... > > Thanks and Regards, > Kumar Bibek > > On Mar 11, 5:01 pm, Kumar Bibek <[email protected]> wrote: > > > > > This works > > > Intent intent = new Intent(Intent.ACTION_SEARCH); > > intent.setPackage("com.google.android.youtube"); > > intent.putExtra("query", "Android"); > > intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > > startActivity(intent); > > > Thanks and Regards, > > Kumar Bibek. > > On Mar 11, 10:13 am, Kumar Bibek <[email protected]> wrote: > > > > Try this. > > > > Intent intent = new Intent(Intent.ACTION_SEARCH); > > > intent.putExtra("query", "Android"); > > > intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > > > startActivity(intent); > > > > Here, you will get a Chooser activity. Now when you select Youtube, > > > you will get video results for Android. > > > > Thanks and Regards, > > > Kumar Bibek > > > > On Mar 11, 6:28 am, "David" <[email protected]> wrote: > > > > > Dear All, > > > > > I want launch the YouTube with specified video searching list > > > > at > > > > startup(e.g I want YouTube shows the video list all related with the key > > > > word "Susan" and "U.S" in the first page.) > > > > > But The YouTube application is not open source in Éclair, would > > > > you > > > > please tell me which 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [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

