Tuesday, 20 August 2013

How do I get an Android application to use the Google API library in Eclipse?

How do I get an Android application to use the Google API library in Eclipse?

I am trying to use Google's URL Shortening service in my Android app. I
have imported the necessary jar files as mentioned here
I am following this as my reference to code from.
I am able to import the HTTPTransport class from
com.google.api.client.http, but I am not able to import the
GoogleTransport, GoogleHeaders, JsonHttpParser, nor Result, and
JsonHttpContent doesn't seem to have the no-arg constructor given in the
example I'm looking at.
Below is a screenshot of my project properties window, on the Libraries tab.

No comments:

Post a Comment