Best option for using the GData APIs on Android?

nyenyec picture nyenyec · Feb 7, 2009 · Viewed 26.8k times · Source

What's the least painful and most size efficient way to use the Google Data APIs in an Android application?

After a few quick searches t seems that there is an android-gdata project on Google Code that seems to be the work of a single author. I didn't find any documentation for it and don't even know if it's production ready yet.

An older option, the com.google.wireless.gdata package seems to have been removed from the SDK. It's still available in the GIT repository.

Before I invest too much time with either approach I'd like to know which is the best supported and least painful.

Answer

Yaniv Inbar picture Yaniv Inbar · Apr 13, 2010

Please take a look at the Google API Client Library for Java which supports Android

It also supports new GData technologies like the recently announced partial response/update and JSON-C, both of which can be a dramatic improvement in efficiency on Android.

To start, please take a look at the Android Developer's Guide. Also, please look at the Android sample for Picasa Web Albums Data API, which demonstrates the ability create/update/delete a photo album and to upload a picture.

Full disclosure: I am an owner of the google-api-java-client project.