I am trying to do exactly this. Did you ever find a solution? I thought I would be able to pass the auth cookie in the header of the request from android and be able to access the User Service, however I aways get user==null. I have posted a question on stackexchange : http://stackoverflow.com/questions/9811730/login-to-appengine-from-android-client
On Wednesday, May 6, 2009 10:41:28 PM UTC-4, radarcg wrote: > > I'm also curious about this, but perhaps slightly differently. Is it > possible for an android application (NOT mobile website) to access the > authentication token that already exists, and pass it do a web > application that is hosted on the Google App Engine? > > On May 6, 4:37 pm, "Jason (Google)" <apija...@google.com> wrote: > > Hi Anil. ClientLogin might be the solution you're looking for. Read the > > resources below then let me know if you have any specific questions > about > > how to do this: > > > > > http://code.google.com/apis/accounts/docs/AuthForInstalledApps.htmlhttp://groups.google.com/group/google-appengine-java/browse_thread/th... > > > > > > You might want to check out the Google Data library for Java which has > > support for ClientLogin, although I'm not sure if it can be used to > connect > > to non-GData services. Regardless, the URL ishttp:// > code.google.com/p/gdata-java-client/ > > > > - Jason > > > > On Tue, May 5, 2009 at 12:15 AM, Anil <anil.ahir...@gmail.com> wrote: > > > > > I am communicating with app engine application with android gadget and > > > further app engine application will communicate with the destination > > > resource via SDC. > > > how the authentication is going to happen between app engine and > > > android? we would need one time authentication with android gadget to > > > app engine application which will be further used with SDC. > > > > > Thanks & Regards, > > > Anil -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/YFs3PaPeO_gJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.