upload video to youtube from android using google-api-java-client 1.14.1 or ytd-android-0.2 -
further earlier question not answered
using youtube data in android project
my goal upload youtube video, , after url, search key developer.
i spent 3 days , not found yet aworking code android.
i try code appears superior :
how upload video youtube in android?
that link file
https://code.google.com/p/ytd-android/downloads/list
but recive toast write :
"request made myytddomain failed. please make sure have correct domain"
i chack cuple time, myytddomain right...
and in locate error
05-02 20:01:37.889: e/adreno200-es20(128): <qgl2drvapi_gluseprogram:1318>: **** 293: gluseprogram(6) 05-02 20:01:38.279: e/androidruntime(6775): fatal exception: main 05-02 20:01:38.279: e/androidruntime(6775): java.lang.runtimeexception: unable start activity componentinfo{android/android.accounts.grantcredentialspermissionactivity}: java.lang.nullpointerexception 05-02 20:01:38.279: e/androidruntime(6775): @ android.app.activitythread.performlaunchactivity(activitythread.java:1956)
if work code , it's work or not i'm interested hear it...
after find article :
http://diablo-urban-o.com/post/9880535810/uploading-videos-to-youtube-from-android
i try use in fifth paragraph order dawnload google api client library java, version 1.14.1-beta
https://code.google.com/p/google-api-java-client/downloads/list
" once uncompress you’ll find several jar files youtube functionality we’ll need google-api-client-xxx , google-api-client-googleapis , 2 more dependencies guava-r09 , jackson-core-asl (you can follow here - it’s in spanish), have add these libraries project build path."
the problem whan unzip file discover there no google-api-client-xxx jar file , google-api-client-googleapis jar
after gave seeking here ask if has way, please write down detailed answer
there number of detailed samples using youtube api google api java client here:
https://code.google.com/p/youtube-api-samples/source/browse/#git%2fsamples%2fjava
in addition, zip google api java client have jars you're looking for. in root of zip there 2 directories, "libs" , "libs-sources" (the second contains source code, can useful debugging). note there no guava jar anymore dependency on guava removed.
Comments
Post a Comment