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
0
votes
1 answer

how to sign out from Google Account and show account chooser again using Google Drive Android Api

I have implemented a code to open the selected file from Google Drive on Google Drive Android Application through opener activity. In this application i need to place sign out option to choose different account. But this code will ask sign in only…
Manoj
  • 65
  • 2
  • 9
0
votes
1 answer

Google drive Android SDK does not see files created using the web UI

Inside an Android App, I'm using the code below to list the contents of a folder Drive.DriveApi.getFolder(mGoogleApiClient, driveId).listChildren(mGoogleApiClient).setResultCallback(listChildrenResultCallback); While this lists contents uploaded by…
mbonnin
  • 6,893
  • 3
  • 39
  • 55
0
votes
1 answer

Unable to get the shared with me files with the Google Drive Api using Filters.sharedWithMe()

I have some files in my Google Drive that others have shared with me and I would like to be able to query them. Unfortunately the MetadataBuffer' result count is 0 This is the code: private GoogleApiClient mGoogleApiClient; @Override protected void…
kirilv
  • 1,373
  • 1
  • 18
  • 24
0
votes
1 answer

Striping down google play services only to google drive related methods

I need to use google drive in my application but I have a problem with hitting the dex limit. So I am using: https://gist.github.com/dextorer/a32cad7819b7f272239b to strip down my google-play-services. I am currently using this config for striping…
Tadej Vengust
  • 1,351
  • 4
  • 18
  • 35
0
votes
1 answer

Google Drive Account Chooser Dialog won't cancel

I am using google drive on android to backup files. Backup is working fine. However when I am presented with the dialog to choose an account to back up to, if I hit "Cancel" the dialog just closes and reappears. It gets caught in a loop and I am…
idunno
  • 713
  • 3
  • 10
  • 25
0
votes
1 answer

Download documents with Google Drive android SDK as PDF

i work on project that requires integration with Google Drive and build on top of PDF file format. As i see there is a way to open various native documents from Google Drive as PDF trough 'exportLink' function as it described there…
0
votes
1 answer

Unknown Issue With Google play Service?

I want to Use Google Drive in my application. I have tried that Demo Project from git- hub. I am getting Error of "Unknown Issue With Google play Service?". It let me Select to choose Particular Account For Drive Use. But After That It gives me that…
Vikram
  • 85
  • 1
  • 11
0
votes
1 answer

How can a Google Drive file not have "any content stored on Drive"?

I have a Google Form that logs all of its responses in a Google SpreadSheet I own on my Google Drive Account. The SpreadSheet of responses shows up in the "My Drive" section of Google Drive when accessed on a computer. I'm currently writing an…
Ryan D'souza
  • 653
  • 11
  • 22
0
votes
2 answers

Using google drive to store data for respective user?

I'm trying to develop android app something like "Notes". The idea is to ask user to sign in to his google account and use his drive space to store his notes. Simply user should have his data with him & should pay for storage if necessary. Also in…
Mangesh
  • 5,491
  • 5
  • 48
  • 71
0
votes
1 answer

how to get Drive_FILE_ID using Google Drive android API

I am creating an application which uses user's Google Drive space to stores application's backup. As i am a beginner, i am having trouble understanding Google Drive android API. I check several examples android Quick Start and Google Drive android…
harsh_v
  • 3,193
  • 3
  • 34
  • 53
0
votes
1 answer

How to upload file on android to Google Drive using python code

I am using the following python code to upload video to my Google Drive from the command on Linux. Is it possible to used on android since android based on Linux kernel? if not, is there any android service to upload the video in background (ether…
Majid ff
  • 249
  • 7
  • 22
0
votes
1 answer

Best way to backup app data with google drive?

So I have an app that I've written that's using sqlite (so has a db in the data folder) and about 12-50MBs worth of server and user generated content. I need to automatically back this up for the users in such a way that when they move devices/get…
0
votes
0 answers

Android: Google Drive API getToken GoogleAuthException

I integrated Google Drive API to my Android app but recently I noticed that this stop working, earlier everything was ok. Now I get GoogleAuthException: Unknown on getToken() function. I tested on Nexus 7 with Android 4.4.4. My app is compiled woth…
Bartosz Bialecki
  • 4,391
  • 10
  • 42
  • 64
0
votes
1 answer

The method execute() is undefined for the type Drive.Files.List

i just started using google drive API for java and i am using the same code as described on the site to retrieve file list from google drive but the method execute does not exists :( what should i do ? private static List
0
votes
1 answer

Google Drive Android API 'queryChildren' vs. filter

I wonder if there is a difference between using the following filter construct: GoogleApiClient GAC; ... ArrayList fltrs = new ArrayList(); fltrs.add(Filters.in(SearchableField.PARENTS, (DriveId)id)); ... Query qry = new…
seanpj
  • 6,735
  • 2
  • 33
  • 54