如何使用YouTube API V3上传从Android应用程序的视频? [英] How to upload video from android app using youtube API V3?
问题描述
我有一个Android应用程序上传到YouTube视频的要求。我想创建一个应用程序,我可以将视频上传到YouTube,但问题是,没有提供谷歌播放服务的设备。所以,我想使用YouTube API将视频上传
I have a requirement of uploading a video to YouTube from an android app. i want create an app, which I can upload videos to YouTube, but the problem is that devices that don't have google play service available. So I want to upload video using YouTube API.
1 - 我所经历和调用此API https://开头developers.google.com/youtube/v3/guides/auth/installed-apps
但无法从这里得到的OAuth。
1- I have gone through and call this API https://developers.google.com/youtube/v3/guides/auth/installed-apps but unable to get oAuth from here.
2 - 如何从YouTube上传视频,而谷歌播放服务是这可能吗?
2- How to Upload video from youtube without google play service is it possible?
我也尝试
<一href=\"http://stackoverflow.com/questions/10246212/android-youtube-upload-video-with-static-username-and-password/10432215#10432215\">android静态的用户名和密码的YouTube上传视频
但谷歌拥有德precated这个API。我怎样才能使用YouTube API V3落实在我的Android设备。
任何帮助是AP preciable.thanks。
I have also tried android youtube upload video with static username and password but google have deprecated this API. How I can implement in my android device using YouTube API v3. Any help is appreciable.thanks.
推荐答案
您可以使用尝试使用的谷歌API客户端API
You can use Try using Google API Client API
在谷歌API客户端库的Java支持Android 1.5+
The Google API Client Library for Java supports Android 1.5+
这篇关于如何使用YouTube API V3上传从Android应用程序的视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!