Reputation: 2170
my goal is to upload YouTube video, and after get the URL, then do a search by key developer.
someone have a code or example of upload video to youtube without using intent and tell us which jar files he attached ?
I try for a week and not success, none of my questions about uploading video to YouTube answered
my Q : upload video to youtube from android using google-api-java-client 1.14.1 or ytd-android-0.2
using youtube data in android project
Upvotes: 0
Views: 1350
Reputation: 9154
Yes, there are official samples of the Youtube API being accessed with the Google API Java Client here:
https://code.google.com/p/youtube-api-samples/source/browse/#git%2Fsamples%2Fjava
There is an UploadVideo sample, and a Search sample, as well as a number of others.
In addition, there are many other samples for the Google API Java Client here:
https://code.google.com/p/google-api-java-client/source/browse/?repo=samples
A good one to check out for help with using the library in and Android application is the tasks-android-sample. There currently are no specific youtube-android samples, but you should be able to take the ideas from the both and combine them.
As an aside in case it helps: there's plenty of documentation about the API here and you can interact with the API in your browser with the API's Explorer here.
Upvotes: 1