Hi Rishi, I had tried the above concept but i couldn't succeeded. I then held up using OAuth 2.0 authentication from the application level.
I am waiting if some one answer this query. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Sat, Jan 7, 2012 at 2:27 AM, Rishi Arora <[email protected]>wrote: > I have an Android App that currently authenticates with a Google App > Engine App using an AccountManager instance. I call > AccountManager.getAuthToken() with token type = "ah", as described in Nick > Johnson's blog ( > http://blog.notdot.net/2010/05/Authenticating-against-App-Engine-from-an-Android-app), > and this works perfectly fine. The end-user does not have to enter any > credentials in my android app. The user has a configured Google account in > Android system settings, and through the Account Manager I am able to > authenticate with Google App Engine. > > I'd like to change this a bit, to use OAuth instead of Google Accounts > API, in Google App Engine configuration. And with this change, I'm > wondering if there's a way to still not have the user provide credentials > at all, and use the Google account configured in Android system settings to > retrieve an OAuth access token. Anybody know how to do this? More > specifically, where do I tell AccountManager what the OAuth consumer key > and consumer secret is? I have heard that AccountManager supports OAuth > 2.0 3-legged authentication. This is what I'd like to implement, along > with the requirement that the user should not be asked to provide Google > account credentials, as long as there a Google account configured in > Android system settings. > > Many thanks in advance. > Rishi. > > -- > 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 -- 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

