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

Setting Description in Metadata for Google Drive Android API

Is there any way to set the Metadata Description? https://developer.android.com/reference/com/google/android/gms/drive/Metadata.html#getDescription() If so, what is the length limit? I can't see anything in the api:…
Mark
  • 7,446
  • 5
  • 55
  • 75
0
votes
2 answers

Save image URL from Google Drive into SQLite database

My app can save an image to Google Drive (like https://github.com/googledrive/android-quickstart). How can I get the URL of the uploaded image and save it in a variable, for showing it to the user in textview, and save it into an SQLite database? …
0
votes
2 answers

Read AppFolder file data in android

I want to read the i have written on a file in Appfolder.but i am not able to read that my app is crashes when i try to read that from file.i have created the file in App folder successfully.i am using the below code so please tell if i am doing…
jarnail
  • 243
  • 4
  • 15
0
votes
1 answer

DriveFile.trash(GoogleApiClient) method is gone

Android sample code has trash() method (see same code github) DriveFile file = Drive.DriveApi.getFile(getGoogleApiClient(), result.getDriveId()); file.trash(getGoogleApiClient()).setResultCallback(trashCallback); I use the latest google play…
0
votes
0 answers

Getting Authorization code of my google drive account in android

I am building an application using the reference Google Developer Sample Project. According to this tutorial i will get an authorization code from browser and will put it later in my application.But i don't want to work like this. I need to get the…
Pir Fahim Shah
  • 10,505
  • 1
  • 82
  • 81
0
votes
1 answer

Granting apps on Google Drive

I'm using Google API to open a file picker and select a file from Goolge Drive. It works but I've got a strange problem about application grants. If I load a file from Google Drive app, I can't select the files (it's gray) but if I upload the file…
greywolf82
  • 21,813
  • 18
  • 54
  • 108
0
votes
1 answer

How can I delete Google drive file on android app

I am a developer and currently working on google drive API on android. I can query and create file/folder from my app using GoogleApiClient; however, I cannot delete the files from my app. After I google it and I found out that the newest google…
s011208
  • 305
  • 4
  • 12
0
votes
1 answer

Upload image to someones Google Drive, Dropbox or Box service

I am looking into my storage options for an app I am making and was wondering if it would be possible to have a user be able to upload images to a users Google Drive, Dropbox or Box with their API's. the use-case is the user creates a folder on…
tyczj
  • 71,600
  • 54
  • 194
  • 296
-1
votes
1 answer

Can we retrieve data back from Google Drive API in Android?

I'm able to successfully add my images to google drive, using the API provided by Google Drive. Can I now retrieve it back to my App? If yes, Can anyone help with how to do that?
-1
votes
1 answer

Xamarin Native: How to connect to google drive and save a file

I'm working on Xamarin Native app ( Not xamarin.Forms ) and I want the app to be able to connect to the google drive of any email e.g johndoe@gmail.com and save some files. I have searched to no avail but can't find an explicit example which uses…
-1
votes
2 answers

how to get google drive share link in android

I am working on an app which use Google Drive. I want to get the public share link.
-1
votes
1 answer

How to Upload Multiple Audio Files to Google Drive To a Specified Folder in Drive?

I am working in a project that have to upload multiple audio files (.amr) to google drive to a specific folder. Now I am going through "startIntentSender" method to show a picker to choose a folder in drive. For a single file it is working fine, But…
Jayesh M
  • 139
  • 12
-1
votes
1 answer

Unable to fetch file from google drive

I am working on a project where user can upload a document to my server. This file can be selected either from local storage or a cloud storage ,say google drive. When i click on the file from file chooser all i am receiving is an account info and…
Rushi Ayyappa
  • 2,708
  • 2
  • 16
  • 32
-1
votes
1 answer

Google drive API - orderBy very slow

(Note: This is a self-answering question) I noticed orderBy folder,title is very slow, what should I do ? $ time curl…
林果皞
  • 7,539
  • 3
  • 55
  • 70
-1
votes
1 answer

Drive id only working with using same device

Google drive file download only working while using only with uploaded device. It's not working when i try to download from other device, that time it give error response 'Drive id invalid' from drive API. I don't know why its happen?
Bala
  • 87
  • 1
  • 7
1 2 3
56
57