Android – upload videos programmatically to Youtube

I'm trying to upload videos to YouTube programmatically. I've tried

YouTubeService service = new YouTubeService(clientID,developer_key);
service.setUserCredentials("email", "password");

However, it throws a serviceexception to explain com.google.gdata.util.authenticationexception: what happens when there is an error connecting to the login URI?

resolvent:

You do not appear to have set up authentication

I recommend using data API v3. This is a great Java upload example

I also used serviceintent to open an Android upload example (YouTube direct Lite). Check it out at will

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>