如何在android studio中制作youtube订阅按钮 [英] How to make youtube subscribe button in android studio

查看:181
本文介绍了如何在android studio中制作youtube订阅按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Guys,我正在开发一个应用程序,在这个应用程序中我想按一个按钮,如果有人点击这个按钮,所以他们将订阅我的youtube频道请帮助告诉我该怎么做。

提前致谢




我的尝试:



<按钮

android:text =Subsc

=android:layout_width =363dpandroid:layout_height = 51dpandroid:id =@ + id / button2android:background =@ drawable / youtubeandroid:height =24px>

Hello Guys, i am working on a app and in this app i want to make a button if someone click on this button so they will subscribe to my youtube channel please help and tell me how can i do this.
Thanks in Advance


What I have tried:

<button
android:text="Subsc"
="" android:layout_width="363dp" android:layout_height="51dp" android:id="@+id/button2" android:background="@drawable/youtube" android:height="24px">

推荐答案

添加布局按钮只是您需要做的一小部分。



要订阅用户加入YouTube频道,您需要先了解YouTube API然后使用 Subscriptions.insert [ ^ ] meth od。



/ ravi
Adding a button to your layout is only a small part of what you need to do.

To subscribe a user to a YouTube channel, you need to first understand the YouTube API and then use the Subscriptions.insert[^] method.

/ravi


这篇关于如何在android studio中制作youtube订阅按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆