llkaadventure.blogg.se

Google drive upload multiple files
Google drive upload multiple files





But the mGoogleApiClient has always last logged-in google drive Account because of which I think,files are uploaded in the last logged-in account instead of three different accounts. If (this.mGoogleApiClient != null & ())Ģ> Result:- This method is called each time the user is logged in and file uploading. Information such as the server, port, or URL are displayed right away. Select Google Drive from the list of available connection types and services to get started. It begins with the selection of Open Connection in the program interface which opens the new connection interface.

google drive upload multiple files

Ĭode snippet for initializing mGoogleApiClient:- public void init(Activity context, final ICDCallback cb) ).addApi(Drive.API).addApi(Auth.GOOGLE_SIGN_IN_API, new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN).requestScopes(new Scope(""), new Scope).requestEmail().build()).build() The Google Drive integration is one of the easiest to configure. Details:- I want to synchronously upload three files to three different google drive accounts from my Android Application.My current implementation is uploading all the three files in just one (last logged-in) account.So i want to know whether is it technically possible to do so?ġ> Right now,I have three different classes for three Drive accounts.I am using Drive API and GooglePlay services gms:play-services:11.4.2.







Google drive upload multiple files