A august8music Member Licensed User Longtime User Oct 3, 2012 #1 Hi, I'm trying to open up the search option in youtube and have also done a search. I was able to figure this out with the web browser, but seeing the web browser doesn't play the videos then I needed a new way. I have Intent to Open Youtube, but I can't seem to have it auto filter/search for a video. Basically I have a list of Artist and Song names and want to be able to search for them on Youtube. Any Thoughts? Something like this? Dim Intent1 As Intent Intent1.Initialize(, "") Intent1.SetComponent("com.google.android.youtube.QueryActivity") Intent1.PutExtra("query", "SearchString") StartActivity(Intent1) Click to expand... Last edited: Oct 3, 2012
Hi, I'm trying to open up the search option in youtube and have also done a search. I was able to figure this out with the web browser, but seeing the web browser doesn't play the videos then I needed a new way. I have Intent to Open Youtube, but I can't seem to have it auto filter/search for a video. Basically I have a list of Artist and Song names and want to be able to search for them on Youtube. Any Thoughts? Something like this? Dim Intent1 As Intent Intent1.Initialize(, "") Intent1.SetComponent("com.google.android.youtube.QueryActivity") Intent1.PutExtra("query", "SearchString") StartActivity(Intent1) Click to expand...
NJDude Expert Licensed User Longtime User Oct 4, 2012 #2 This should work: Code: Copy Dim Intent1 As Intent Intent1.Initialize(Intent1.ACTION_VIEW, "") Intent1.SetComponent("com.google.android.youtube/.ResultsActivity") Intent1.PutExtra("query", "funny") StartActivity(Intent1) Upvote 0
This should work: Code: Copy Dim Intent1 As Intent Intent1.Initialize(Intent1.ACTION_VIEW, "") Intent1.SetComponent("com.google.android.youtube/.ResultsActivity") Intent1.PutExtra("query", "funny") StartActivity(Intent1)
A august8music Member Licensed User Longtime User Oct 4, 2012 #3 Ok I was getting close, Thanks that worked perfect! Upvote 0