0

I am trying to sync data between my C# desktop application and an Android application. I got the desktop app running as intended with no problems. However I want to access the data uploaded by the desktop app with the android app and that is where I run into issues.

This is how I connect to drive in my android app.

 myGoogleApiClient = new GoogleApiClient.Builder(this)
                .addApi(Drive.API)
                .addScope(Drive.SCOPE_APPFOLDER)
                .addConnectionCallbacks(this)
                .addOnConnectionFailedListener(this)
                .build();
    }
    myGoogleApiClient.connect();}

This is what happens when i look into my drive Settings>Manage Apps. There appear to be two apps.

enter image description here

I created an "OAuth 2.0 client ID" in order to access drive from my android device. I assume this is where I made a mistake. How should I do it in order to access the same app data folder on my google drive from both of my apps?

enter image description here

Gerald Schneider
  • 17,416
  • 9
  • 60
  • 78

0 Answers0