I am trying to use google-api-java-client (I suppose this is what is called 2.0) to write an android application for youtube. (gdata-java-client (1.x) does not support android, I understand). I read the youtube documentation, as well as the sample provided in "youtube-jsonc-sample", which only requests based requests.
I want to request a video for youtube as described in http://code.google.com/apis/youtube/2.0/developers_guide_java.html#Searching_for_Videos However, the sample fragments described there seem to be related to the older gdata APIs. I did not find anything related to youtube in google-api-java-client, except for the youtube sample. The link to code.google.com/apis/youtube/2.0/reference.html#Searching_for_videos also only makes a fleeting link to "conditions that should be used to filter the result set."
Can I request a youtube video using API 2.0 (on Android)? Show me pointers or sample code.
thanks
source share