[android-developers] Re: How to launch YouTube with specified keywords?

2010-03-11 Thread Kumar Bibek
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 coomar@gmail.com 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 android.and...@gmail.com 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 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


[android-developers] Re: How to launch YouTube with specified keywords?

2010-03-11 Thread Kumar Bibek

Check this link

http://tech-droid.blogspot.com/2010/03/youtube-intent-for-search-in-android.html

Thanks and Regards,
Kumar Bibek

On Mar 11, 5:01 pm, Kumar Bibek coomar@gmail.com 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 coomar@gmail.com 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 android.and...@gmail.com 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 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


[android-developers] Re: How to launch YouTube with specified keywords?

2010-03-10 Thread Kumar Bibek
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 android.and...@gmail.com 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 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