Reputation: 31
I am trying to create a Youtube based application and I can't find any information on how to subscribe the users to different channels.
Is it possible to do it? I can find information about how to do it using php
but I'm wasting lots of time with no success trying to do it with Android
.
Upvotes: 3
Views: 1701
Reputation: 61
Below code will open channel in youtube app.
private void openChannel(){
String channelId = "";// put channel id
Intent intent = YouTubeIntents.createChannelIntent(getContext(),channelId);
startActivity(intent);
}
Upvotes: 0
Reputation: 13181
You may want to look at the following content for accessing different Youtube channels?. There are also sample Android apps showing how to use the Youtube API.
To locate the referenced method, use the original source link below. Make sure that you are clicking the YoutubeIntents class or try this direct link. You can find the YoutubeAPI Player on the downloads page and sample applications may be found at this link.
Upvotes: 3