使用Android上的GData API的最佳选择吗?最佳选择、Android、GData、API

2023-09-12 03:53:38 作者:平生不会相思

什么是使用谷歌数据API在Android应用程序是最痛苦的,最尺寸有效的方式?

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

在一些快速搜索牛逼似乎有对谷歌的 Android的GDATA 项目code,这似乎是一个作家的工作。我没有找到任何文档,它甚至不知道它的生产准备好了。

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.

这是旧的选项,com.google.wireless.gdata包似乎已removed从SDK。它仍然提供。

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.

推荐答案

请看一看在谷歌的API客户端库对Java支持的Andr​​oid版本:

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

http://$c$c.google.com/p/google-api-java-client/

它也支持新的GData技术,如最近公布的部分响应/更新和JSON-C,这两种都可以在效率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.

要开始,请大家一起来看看 Android的开发者指南。另外,请看看Android样品Picasa网络相册数据API ,这表明了能力创建/更新/删除相册,并上传图片。

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.

披露:我是谷歌API的Java的客户端的项目。

 
精彩推荐