In Android 2.2 the private API GoogleLoginServiceHelper can no longer
return auth tokens with the getCredentials() method it seems. This is
fine as it is a private API and using it was always risky. However, I
was using it to retrieve an auth token for use as a cookie to visit
the Google Reader sit
to
> allow access to the selected account? I am not quite sure how it determines
> the caller, but maybe it might not be the calling app, but the certificate
> it was signed with that makes the difference. Did you use the same
> certificate to sign both apps?
>
> On Thu, Mar 4, 20
I think I might have found an issue with using AccountManager in
Android 2.x devices. I have 2 apps in the market that use Google
Reader: Reader Widget Pro and Reader Widget Free. I was updating them
both to use AccountManager and the new authentication method. I
noticed that on my Nexus One when o
My apps use GoogleLoginServiceHelper and as far as I know they work on
the Motorola Droid. One user reported an unrelated bug with the Droid
to me but did not mention any other issues.
On Nov 9, 2:25 am, JP wrote:
> Introduced in 2.0, the SDK offers AccountManager to access accounts.
> For all wh
){
authToken = intent.getStringExtra
(GoogleLoginServiceConstants.AUTHTOKEN_KEY);
}
}
Hope that helps.
On Jul 15, 11:10 pm, kostmo wrote:
> Hi ubikdroid,
> Would you be able to tell me more about how you used getCredentials?
>
> I'm tryi
Woot! I got it working. I tried before with the service set to
"reader" but I got a SecurityException thrown even though I had the
permission in the manifest.
However, if you leave the service null in the getCredentials call and
add the permission
com.google.android.googleapps.permission.GOOGLE_A
Tell me more! I'm not sure what you mean by "very simple & more
efficient time using this". I'm trying to create a widget that gets
the number of unread items from the Google Reader API. The auth token
from android doesn't seem to be valid for this. I'm having to resort
to asking the user to input
I tried to use the auth token as a SID to login to
http://www.google.com/reader/api/0/unread-count from a widget and it
didn't work. I had to resort to using the ClientLogin API to get a
valid SID.
--~--~-~--~~~---~--~~
You received this message because you are sub
8 matches
Mail list logo