Does Google Drive integrate with Android through code? - android

I have spent some hours searching for Android phone integrations with Google Drive through code. But I am not able to figure it out. I want to make a app in which when I press a button, my specific file is uploaded and stored in Google Drive.

Currently, GoogleDrive is not integrated with Android. However, this is something they are working on and say it will be here "soon". The services theyre working on is called Google Play Services.
You can also currently use the java client library to accomplish what you need for now.
Just a warning, there aren't many great examples out there so its somewhat difficult to figure out.

Related

Google Play Games, backing up data, Drive deprecated

I'm just coming to the end of writing my first game, last thing to do is enable backing up the user's game. I have leaderboards and achievements implemented fine, and all Google's docs say I should be saving games to Drive using .requestScopes(Drive.SCOPE_APPFOLDER) which upon trying leads me to find that it's no longer going to work in 2 months.
Digging further, I found this line from Google: "Support for storing and syncing in the app data folder will likely be removed from Drive in the future."
I'm still learning all this as I go, and I'm using Kotlin (I don't know Java). Can anyone point me in the right direction to where I should be looking to backup users game data if the way Google suggests isn't going to work very soon?
Thanks
Google is deprecating the Google Drive Android API in favor of the Google Drive REST API. Here is the best starting point for implementing that in android that I could find.

Is there an alternative to using the REST API for my Android app?

I have been struggling for many weeks to get the sample code at REST Android Quickstart to work properly, but I get a 403 error which I can't seem to fix as I cannot find the Drive SDK within the Developer Console to activate it for my app.
Now I am wondering if there is an alternative to using the REST method to achieve my original goal of creating an app that can create and edit text files within a users personal Google Drive account - NOT the Drive space allocated to the app itself - which I believe is a limitation of the Google Drive API (unless I'm mistaken)? Many thanks in advance.

How can i fetch data from Google play in my app?

I have an android app, i want to check for version code of it from Google play. please suggest some way to do this. Don't answer with MarketServiceApi and its link unless you have explored it by yourself. i have already done research on it and got nothing, but if it is working for you then suggest the procedure to use it.

Android Google Drive integration

I need to upload an file from android device SDCARD onto google cloud, I google long time on internet,but I couldn't found correct version of Api to achieve file share over cloud. Help me with sample code to login and share files over cloud with right api.
I have no experience of this, but there does seem to be some documentation here:
https://developers.google.com/drive/get-started
Have you already looked through this?
EDIT: That appears to be for Chrome apps. There is a similar question here: Android API for Google Drive?
It looks like the short answer is the solution is a long one (people have mentioned having to do it manually :( )

Importing 'my maps' from google account to my own application

my question is short.
I am making an application that creates and uses .kml map files. I thought it would be a very good idea if the user could upload his maps to Google "My maps" server (which imports .kml files through the browser version) from my application, and also load them afterwards. However, I have not found any documentation related to this possibility, and I have spent hours looking through the internet and the Google Maps Android API, without luck.
Does anyone know if my idea is possible? Or google keeps this closed for their internal applications?
Thanks :)
There is an API to upload .kml files to Google Maps (the Google Maps Data API), but it doesn't work due to a bug that Google have decided not to fix for some reason.
See my answer to the question "how can I upload a kml file with a script to google maps?" for the details

Categories

Resources