Answer the question
In order to leave comments, you need to log in
Authorization in the Android application using a Google account?
I want to create a network Android application. It will send certain Http requests to a web server and receive structured xml files. There was a question about authorization. I want to use an existing Google account. Googled and found information on Open-ID. But if you use it, then you need to display the Google authorization page and ask the user to enter a username and password. So there is a user already authorized in the Android OS itself! Is it possible to log in to the web server using user data collected from the Android system? Are there any ideas, examples of how this can be implemented?
Answer the question
In order to leave comments, you need to log in
This is done through the AccountManager class . This is how it is implemented, for example, in Feedly: when you try to log in, an android activity pops up that requires confirmation.
Have you looked at Google App Engine?
PS If I understood everything correctly...
Devich, thanks for pointing me in the right direction. But did you not understand something? what will happen after receiving the AuthToken. I have to transfer it to my web server and connect to Google from it and check if the Email / AuthToken pair matches each other? If yes, how to check it?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question