title: How do I use the Google URL Shortener API on Android?
body: <p>After much fiddling with trying to import the libraries myself, I finally managed to find out that I can do so using the Google Plugin for Eclipse, <a href="https://code.google.com/p/google-api-java-client/wiki/Setup#Eclipse" rel="noreferrer">here</a>.</p>
  
  <p>However, I seem to be unable to find any examples of how to actually use the API on Android, at least none that are compilable, as the classes required in those examples seem to not be resolvable by Eclipse, so I can only assume that these classes do not exist in the libraries that are imported by the Google Plugin for Eclipse for the URL Shortener API. The closest thing to an example I could find is <a href="https://code.google.com/p/google-api-java-client/source/browse/urlshortener-robots-appengine-sample/src/main/java/com/google/api/client/sample/urlshortener/appengine/robots/UrlShortenerSample.java?repo=samples" rel="noreferrer">here</a>, which appears to be for Google App Engine, not Android, and uses classes that I cannot seem to get access to.</p>
  
  <p>So the question is, how do I use this API to get a shortened version of a URL, in an Android application? Preferably, I would like to do it using an API Key, instead of OAuth.</p>