使用Android上的GData API的最佳选择吗? [英] Best option for using the GData APIs on Android?

查看:117
本文介绍了使用Android上的GData API的最佳选择吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是使用谷歌数据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包似乎已<一个href="http://groups.google.com/group/android-developers/browse_thread/thread/faea8516f95ceaa6/9fc2090ffaf6620f?lnk=raot">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:

<一个href="http://$c$c.google.com/p/google-api-java-client/">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的开发者指南。另外,请看看<一href="http://samples.google-api-java-client.google$c$c.com/hg/picasa-atom-android-sample/instructions.html?r=default">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的客户端的项目。

这篇关于使用Android上的GData API的最佳选择吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆