我正在尝试实现Stephen Wylie的Google Drive示例()。下面是我的代码:
package com.googledrive.googledriveapp;
// For Google Drive / Play Services
// Version 1.1 - Added new comments & removed dead code
// Stephen Wylie - 10/20/2012
import java.io.IOException;
import java.util.ArrayList;
import android.accounts.Accoun
我想把我的xamarin android应用程序与google服务的领导板和成就结合起来。我不知道如何将下面的代码从转换为c#。
// Create the Google Api Client with access to the Play Game and Drive services.
mGoogleApiClient = new GoogleApiClient.Builder(this)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
我在一个android项目中工作,在那里我需要集成Google drive api。我意识到的是Google drive api for android已经过时了,包括我找到的示例,他们在他们的网站上推荐rest api,但我一直无法理解他们网站上关于新rest api的示例。我到处寻找例子,但没有找到。如果有人能帮助我,我将不胜感激。谢谢。
我使用的是来自的以下代码,但它显示了以下错误:
toast that Cannot find DriveId. Are you authorized to view this file?
我不知道这背后的原因是什么。
我已经读到关于谷歌驱动器集成的分配,我想保存字符串到谷歌驱动器,也检索,我已经使用了这个演示,但它给我错误。请任何人为我提供我的需求演示
/**
* Copyright 2013 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "Lic
我正在开发一个带有Drive API的android应用程序。
当我试图在我的平板电脑或智能手机上测试这款应用程序时,它能正常工作。现在我必须在Play Store上发布我的应用程序,所以我通过Eclipse对apk进行了签名。问题是,在此操作之后,apk无法工作。
起初,我遵循了这个教程: Google Drive SDK:在安卓上编写你的第一个Drive应用
因此,我使用Google plugin for Eclupse下载了我的项目的libs文件夹中的Drive API v2,它是google-play-services.jar
我的proguard.cfg是这样的,我创建这个文件是因为
我有一个安卓应用程序,它根据你的输入将.txt文件写入下载文件夹,列表视图显示你所有的下载并让你点击查看它们(我有这个功能),现在我正在尝试编写一种方式将它们上传到Google。我已经用SHA1密钥完成了开发人员的验证过程,所以应该可以。我经常看到被推荐,它看起来像是一个很好的代码开始和修改,但当我运行它在我的手机,它不工作-它只是反复要求我选择我的帐户没完没了。项目内部的java代码是这样的(我很新,不太明白所有这些代码是如何工作的,但这是用于链接中的google演示):
public class MainActivity extends Activity implements Connec