In sense i want to upload some file to drive.
Now for uploading things to drive through android App I need to authorize Google account with app. Google API Client provide popup for account selection which are store in the phone.
Now i want to authorize app using Constant Email Id and Password where user can be different but the file been uploaded would be uploaded into my account.
Google API client code snippet for popup:
GoogleApiClient mGoogleApiClient = new GoogleApiClient.Builder(this)
.addApi(Drive.API)
.addScope(Drive.SCOPE_FILE)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.build();
I want to authorize using Email Id and Password.
Please help me through this as i am new with google drive app.