I will keep it simple. my requirement is to authenticate a static Google account (with a username and the password) with OAuth2 in my android application. and then after getting the oauth token i will upload some videos to YouTube. all the other work is done of uploading. but currently i am using GoogleAuthUtil to pick an account from android System. like given here (http://developer.android.com/google/auth/http-auth.html)
Now I want to disable this functionality. I just want that all videos will be uploaded to a fixed youtube/Google account. I also went through this question but there is no answer also.
I also found this question and it was very helpful but the tutorial it is using depricated GoogleClientLogin and it is throwing an exception 403 forbidden when i try to use GoogleClientLogin. Then I tried the same using OAuth2 url it always asks to sign in to first time. so is there anyway to authenticate the google account without any user involvment and get the the OAuth token. please help me.
Thanks