Authenticating with Google API using AccountManager
问题 I've been struggling with this for a couple days now. I'm trying to make calls to Google Calendar using authentication via Android's AccountManager . I retrieve an auth token using the usual method: AccountManager manager = AccountManager.get(this); String authToken = manager.getAuthToken(account, AUTH_TOKEN_TYPE, true, null, null).getResult().getString(AccountManager.KEY_AUTHTOKEN); And then, with that token, I create a Calendar instance like this: HttpTransport transport = AndroidHttp