Search code examples
androidauthenticationandroid-studiosettingsstore

How to make an android app with account save on settings?


I'm starting to study android programming, and i want to know, how to do a login activity like facebook, skype, whatsapp and others.

Let me explain: When you open the app for the first time, you will see the login or register screen, so if you has already registered, you can log in the app. Once you enter, will be created an account on settings witth the app name, saving your account coneccted to the app. And if you open the app again you will automatically be redirected to your user screen.

How should I do that? Could you give me material to study? I was trying to google it without success.

thank you guys!


Solution

  • You have to save the login/password or Aoth cookie into the local storage of the phone dedicated to your applicaton.

    See official documentation for more infos See little tuto