[android-developers] Re: Calling youtube from Android

2008-11-25 Thread cse.tlin

Hi davidsparks,
Can I get the drawable icon of youtube app from another app?
I want to offer  youtube service when user click this icon.
Is it possible?

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Calling youtube from Android

2008-11-25 Thread Dave Sparks

I think you are looking for the following method in
android.content.pm.PackageManager:

public abstract Drawable getActivityIcon(Intent intent)

On Nov 24, 9:03 pm, cse.tlin [EMAIL PROTECTED] wrote:
 Hi davidsparks,
 Can I get the drawable icon ofyoutubeapp from another app?
 I want to offer  youtubeservice when user click this icon.
 Is it possible?
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Calling youtube from Android

2008-11-18 Thread [EMAIL PROTECTED]

You can send the YouTube app an android.intent.action.SEARCH intent
with a search string. If you long-press on the song, title, or artist
in the music player, you can see this in action.

On Nov 18, 1:02 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 With ACTION_VIEW I can call the browser with a url, the phonebook with
 a number, streetview with a location etc etc etc.

 I want to do something similar but for the built in player, Basically
 to search youtube, I want to pass it a string and it automatically
 opens the youtube player and searches for that string, is this
 possible?
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---