In my project, you want to read and write data on the server, it depends on the authentication key (user).
So far, I have planned to use general preferences for storing a user authentication key for further communication with the server.
Later I learned the "Account manager" by reading this tutorial :
I have little confusion about using Account Manager or sharedpreference.
I find it hard to understand how accountmanager works.
Can anyone please indicate which method is suitable for my project.
Any tutorial for an account manager.
Any other suggestions ...?
Thanks in advance.
source share