final String TAG = getClass().getName();
- public HttpTransport httpTransport = AndroidHttp.newCompatibleTransport();
- public JsonFactory jsonFactory = new JacksonFactory();
+ public HttpTransport httpTransport;
+ public JsonFactory jsonFactory;
public GoogleAccessProtectedResource accessProtectedResource;
public Oracle(final Resources res, final CredentialStore store) {
authErrorMessage = res.getString(R.string.autherror);
+ httpTransport = AndroidHttp.newCompatibleTransport();
+ jsonFactory = new JacksonFactory();
AccessTokenResponse token = store.read();
Log.v(TAG, "tokens - access: \"" + token.accessToken +
"\", refresh: \"" + token.refreshToken +