English 中文(简体)
谷歌运动 大会和会议管理部印发
原标题:Google DriveDocs API for Android

I integrated Dropbox with my app in a matter of hours as the SDK was clearly described and had good examples of usage.

谷歌运动似乎只有“一刀切”的Gdata SDK,它非常沉重(许多依赖者,其规模比我的服用量增加三倍),而且没有像这么低的那么深思熟虑。 我确信,如果你知道如何使用,那是完全有意义的,但因为我找不到任何实际使用样本,我确实在挣扎。

Are there any sample apps available that I can look at and learn from? If not, if anybody has a simple example of uploading and downloading files to get me started it would be much appreciated.

最佳回答

EDIT: Since we launched the Google Drive SDK v2 the preferred way is to use the Drive API (and not the Document List API). There is a full-access scope which gives you access to listing and reading all the drive files and which can be used in Android apps easily since our newer client library is Android-friendly! I also recommend watching this talk from Google IO which is explains how to integrate mobile apps with Drive.

也可以使用每个档案范围,并integrate与Adrian App/a>意向。

我们正在拿到完整的样本片和制定指南,以便留下来。


这一点已在上得到答复。

基本上目前,谷歌驱动SDK是针对 Chrome网络储存网络应用的。 如今,为了使用谷歌驱动器,你必须使用GData文件一览表。

GData用户图书馆较老(前安第斯世界:)而且没有像安乐一样。 如阿兰所解释的,你选择继续使用GData客户图书馆或使用新网站google-api-java-client。 但由于没有文件一览表服务班,你必须人工执行。

也许最简单和最轻的加权方案是直接使用基于“爱幼计划”的《爱幼方案》议定书以及良好的XML教区。 该议定书在谷歌文件目录APIC/上作了说明。 仅找到“protocol”的表格,只要该页有密码样本。

最后,你等到我们最终释放出与安乐团相处的更好和新的东西。

问题回答

Note that the sample app that they published for using Google Drive (dredit) includes jars for Android:

/dredit/war/WEB-INF/lib/google-api-client-android2-1.8.0-beta-sources.jar

Could be a red-hearing, but this seems to imply that the Java version of the sample app could be used on Android?





相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签