Re: [android-developers] Question about AccountManager and OAuth authentication with Google App Engine
Hi Nokolay, Thanx for your answer. I'm already using OAuth 1.0 with my Android/GAE app. I guess I'll have to go back to ClientLogin until GAE becomes OAuth 2.0 compatible. François On Tuesday, June 19, 2012 5:58:51 AM UTC+2, Nikolay Elenkov wrote: On Tue, Jun 19, 2012 at 12:57 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Mon, Jun 18, 2012 at 7:33 PM, Francois Masurel wrote: Hi Mukesh, Have you found a solution on this? I'm desperately trying to implement it on my Android app without success. It seems GAE doesn't currently support OAuth2 for authentication, so you have to use ClientLogin. You can get an admin token with this tokenType, but that's not useful for authenticating users (that's what GAE command line tools use to upload, etc. apps). oauth2:https://www.googleapis.com/auth/appengine.admin; BTW, it does support OAuth 1.0, here's an article describing how to set it up: http://ikaisays.com/2011/05/26/setting-up-an-oauth-provider-on-google-app-engine/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Question about AccountManager and OAuth authentication with Google App Engine
Hi Mukesh, Have you found a solution on this? I'm desperately trying to implement it on my Android app without success. Thanx for your help. Francois Bordeaux, France On Monday, January 9, 2012 8:36:08 AM UTC+1, Mukesh Srivastav wrote: 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 rishi.ar...@ship-rack.comwrote: 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Giant Android Device seen at I/O
One is available there and it has a touch screen : http://www.toutpourlavideo.com/totem-android-p-383.html Francois -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Best way to swap activities
Did you try the FLAG_ACTIVITY_NO_HISTORY intent flag ? Here is a nice article about intent flags : http://blog.akquinet.de/2010/04/15/android-activites-and-tasks-series-intent-flags/ Francois On 15 août, 16:04, dm1973 david050...@gmail.com wrote: Right now I have 2 activities (A+B) and what I would like is for only 1 of them ever to be on the stack (If A shows B, I want the back button from B to go to the home screen not A). Is their a good way of doing this with activities Or should I change my app to be a bunch of views? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en