I'm assuming you're using the newer Google APIs Client Library for
Java (http://code.google.com/p/google-api-java-client/). While this
does have good support for Android, there isn't much by way of native
YouTube API support in the library at this time.
What you are probably better off doing is making a raw HTTP request
yourself to the following URL, and deserializing the JSON response
into a Java object that you could then access from your code.
http://gdata.youtube.com/feeds/api/users/AUTHOR/uploads?v=2&alt=jsonc
Here are two random examples of making an HTTP request from Android
and parsing the JSON response:
http://senior.ceng.metu.edu.tr/2009/praeda/2009/01/11/a-simple-restful-client-at-android/
http://www.javacodegeeks.com/2011/01/android-json-parsing-gson-tutorial.html
(I haven't tried either code examples myself.)
Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev
On Jan 3, 3:32 am, Mitch Besser <besse...@gmail.com> wrote:
> It could be that I need to set the orderby. I assume the default would be
> the same as when I go to the YouTube website, but maybe not.
--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.
No comments:
Post a Comment