The exact same code below results HTTP 400 (Bad request) on Honeycomb,
but works great on 2.2.  Any idea why?
------------------------
            GoogleOAuthGetTemporaryToken temporaryToken = new
GoogleOAuthGetTemporaryToken();
            temporaryToken.signer = createOAuthSigner();
            temporaryToken.consumerKey = "anonymous";
            temporaryToken.scope = "https://docs.google.com/feeds/";;
            temporaryToken.displayName = "My App Name";
            temporaryToken.callback = "gdocs-upload:///";
            isTemporary = true;
            credentials = temporaryToken.execute();
            GoogleOAuthAuthorizeTemporaryTokenUrl authorizeUrl =
                new GoogleOAuthAuthorizeTemporaryTokenUrl();
            authorizeUrl.temporaryToken = credentials.token;

  private static OAuthHmacSigner createOAuthSigner() {
    OAuthHmacSigner result = new OAuthHmacSigner();
    if (credentials != null) {
      result.tokenSharedSecret = credentials.tokenSecret;
    }
    result.clientSharedSecret = "anonymous";
    return result;
  }

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to