android - How to retrieve youtube thumbnails using Google API Client Library for Java -


I will be compelled, if you can please tell me the meaning by which I am using YouTube API thumbnail I can get the library for Java, the way we have received the thumbnails using gdata.

  list & lt; String & gt; Thumbnail = New Linkedist & lt; String & gt; (); (MediaTabLion Media Thumbnail: Media Group.Get Thumbnail ()) {Thumbnail. ADD (MediaTargetGate URL); }  

Looking forward, Regards, Ronnie

example usage URL:

URL:

We can extract an example of one of the related pieces of JSON:

  "Thumbnail": {"sqDefault": "http://i.ytimg.com/vi/PpUgUrU5XUA/default.jpg", "HK default": "http://i.ytimg.com/vi/PpUgUrU5XUA/ Hqdefault .jpg "}  

You can modify thumbnail object to parse it.


Comments