Questions tagged [google-drive-android-api]

[DEPRICATED DO NOT USE]The Drive Android API is a native API that conforms to standard Android best practices and coding conventions. Note that this API was deprecated by Google in December 2018 and will be turned off completely in December 2019.


Note that this API was deprecated by Google in December 2018 and will be turned off completely in December 2019.


About

The Drive Android API is a native API that conforms to standard Android best practices and coding conventions. It is an improvement over the generated client API, simplifying many common tasks associated with using the Drive service on mobile devices. The API automatically handles previously complex tasks such as offline access and syncing files. This allows you to read and write files as if Drive were a local file system.

Links

Official Documentation

API Reference

Issue Tracker

Google Developers Introduction Post

855 questions
5
votes
1 answer

Deleted files status unreliably reported in the new Google Drive Android API (GDAA)

This issue has been bugging me since the inception of the new Google Drive Android Api (GDAA). First discussed here, I hoped it would go away in later releases, but it is still there (as of 2014/03/19). The user-trashed (referring to the 'Remove'…
seanpj
  • 6,735
  • 2
  • 33
  • 54
5
votes
1 answer

Google Drive Android API (GDAA) getResourceId() returning null (timing issue)

When testing of delete, trash functionality discussed in SO 22295903, I've run into this issue. 1/ Create a file with contents GoogleApiClient _gac; DriveFile createFileWait(DriveFolder fldr, String name, String mime, byte[] buff) { DriveFile…
seanpj
  • 6,735
  • 2
  • 33
  • 54
5
votes
1 answer

Plans for drive.appdata scope in android google drive API

I want to use files in the special application data folder in new android application im developing (aka drive.appdata scope). You guys at google did an excelent job in the new Google Drive Android API which is bundled with the Google Play Services…
Fernando
  • 53
  • 3
4
votes
1 answer

How to enable picking Google Docs files (kept on Google Drive) with Intent?

I want in my Android app to choose Google Docs file that is kept on Google Drive and after that - to read some data from it (but it's out of this question's scope). So for the start I just want to click on that file and get some callback. I follow…
4
votes
2 answers

Error while migrating to latest Google Drive API in Android - Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup

An application is published on Play Store and it is using 'application data folder' for the backup-restore purpose using Drive API. Everything works fine. However, this API is about to be turned down on 6th December, 2019 according to Google's…
4
votes
2 answers

Google Drive Android API OAuth Authentication Problem - onActivityResult returns "0"

I am just trying to authenticate for Android Drive API. I Generated Signed APK from Android Studio. The account get authenticated and Google Drive API Authentication works perfectly with this generated APK. Now when I Upload this same APK to…
kanudo
  • 2,119
  • 1
  • 17
  • 33
4
votes
0 answers

Google Drive sdk Standard error code Documentation

We are using google drive APIs in our android application. We want to show particular error scenarios of the google drive api in our own custom messages. For example: When the user exceeds the storage rate limit the SDK throws an exception where the…
deeini
  • 75
  • 2
  • 10
4
votes
1 answer

Google drive file.getId() is null only on release build

I am using Google Drive API V2 version to create a folder and upload a file into the folder. It works perfectly fine on a debug build, but on a release build, the file.getId() is null for the folder. Here is the image of the untitled folder that it…
kash
  • 830
  • 2
  • 7
  • 19
4
votes
3 answers

Removed file is still accessible by collaborators in Google Drive. How I can delete it completely?

When I am deleting a file from Google drive which someone else shared with me, it showed me a message like "one removed file is still accessible by collaborators". It no longer appears in that folder, but will it be shown in "shared with me"? How…
MaYuR Solanki
  • 279
  • 1
  • 3
  • 9
4
votes
1 answer

How to manually edit the link to share in google drive or google photos

When the photos are uploaded in Google drive or Google photos and shared to others, the link will be ​https://docs.google.com/xyz. However is there anyway to convert this into meaningful link like Link to Presentation 2017 ??
MRavindran
  • 447
  • 2
  • 10
  • 24
4
votes
1 answer

use google drive api_key on android

i followed a lot of tutorials, at the moment i have: created a new project on google developer console created a new api key, restricted it to android app, added my package name (package="XXXX.YYYY" field of manifest tag in AndroidManifest.xml),…
rmbq
  • 427
  • 4
  • 20
4
votes
1 answer

Updating an SQLite database using the Google Drive Android API

Using the Google Drive API for Android and some answers on Stack Overflow, I have managed to implement Google Sign-In into my app, and backup the SQLite database stored on the user's device to Google Drive. For reference, here is how I save the…
Farbod Salamat-Zadeh
  • 19,687
  • 20
  • 75
  • 125
4
votes
2 answers

Store the sqlite Database into google drive

I have tried many example and did not find any good solution. I want to store the data of my app to store in sqlite database then sync it with the google drive account of the user who installed the app. There is also a button which will show the…
Mudassir Khan
  • 1,714
  • 1
  • 20
  • 25
4
votes
0 answers

get a file object from google drive with URI android

I have tried numerous methods of getting a file object from a google drive URI but most result in the following error: java.lang.SecurityException: Permission Denial: reading com.google.android.apps.docs.storagebackend.StorageBackendContentProvider…
Samuel Thompson
  • 2,429
  • 4
  • 24
  • 34
4
votes
1 answer

What is the limit of Google Drive's App Data Folder?

Google drive allow to store data and share it between devices. But I want to store user's photos in this. I can't find any information about limits at Storing Application Data web page. So. Any info about size limit of Google Drive's App Data…
Alexandr
  • 3,859
  • 5
  • 32
  • 56