I want to synchronise a user's notes in his Google Drive. I read this article, but it doesn't work for me, I want to control the data synchronisation myself and run it whenever I want.
https://developer.android.com/guide/topics/data/autobackup
It should look something like this:
Can you please tell me how I can implement this? I can't fully understand the Google Drive API V3
Related
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.
I've built an app using Ionic that takes pictures and uploads them to Firebase Storage. What I'd like to do next is to make it so that the directory structure and images are accessible from a Google Team Drive.
What would be a good way to go about this? I don't have any code examples because I'm inexperienced with this and I don't really know where to start.
Would I write code to put in Firebase functions that would upload the images every X hours to a Google Accounts' Team Drive? Since Firebase Storage is just using Google Cloud anyways is there an API I could use? Does Firebase have this capacity already and I just don't know about it?
The Team Drive is under G Suite for my company so I could get a Google account made just for this purpose.
I'm new to Stack Overflow, sorry if this post breaks any rules.
https://github.com/firebase/functions-samples/tree/master/google-sheet-sync
This is the only example on the internet that I could find that addressed this issue.
It is a working (With a few tweaks as of Novemeber 2017) example of OAuth and Google's API for uploading information from the Database to a Google Sheets document via an onWrite() event trigger.
I managed to get this working, and in combination with the Google API docs and a lot of rummaging have sort of managed to get Google Drive connected.
The key points are:
-Follow the Firebase Functions examples
-Examine the google-sheets-sync example
-Firebase Functions takes node.js javascript
Posting this answer because it sounds simple but this was a hell of a lot of digging for me to find this all.
I know this question may seem basic , but I literally have no idea how to actually create a snapshot and I didn't find any documentation in Google play services on how to do it. Please excuse & tell me if I unacknowledged or missed something
You have probably already seen this: https://developers.google.com/games/services/android/savedgames it doesn't give a complete picture, but this sample code by Google should help you: https://github.com/gguuss/android-basic-samples/tree/master/BasicSamples/CollectAllTheStars2
It goes through a complete game, that saves and retrieves snapshots using Google Play Games Services.
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.
Would be great, if someone suggest me a way to access Google Googles API or Google Search by Image API.
Currently seems that Google doesn't incentive the use of this API for third parts developers unlike the others Google APIs.
The image search in Google site has a button with a camera that allows the user to upload an image and start a search by image content, if the Google Googles API are not accessible directly, maybe, a good idea might be parsing the Google Search by Image page code and implement a system that access this service through Google Site.
A way to access this function in an app would give to developers infinite possibility to make new awesome apps.
Any suggestion?
Both of these features use internal APIs that are not publicly accessible. They're not intended to be used by software that you write.
If you tinker around, you might be able to reverse engineer them, but I'd recommend against it. Any code you write that depends on them can break at any time without warning.