Android: Youtube API using API Level 11 (or higher)
问题 I'm developing an Android app and I want to search for the first result in youtube to a given query. Firstly, I started to use the following URL: "http://gdata.youtube.com/feeds/api/videos?q="+ query + "&max-results=1" It works good for Android API level 10 (or less) but it doesn't work for API level 11 (or higher). Then, I tried to use the Youtube API . I initially had errors with the SAXParser, but then it works fine. Once again, it works fine to API level 10 (or lower), but didn't work for