How can I handle persistent login for my Android application? For example, an application like facebook requires the initial user credentials to log in for the first time, but from now on does not require any additional actions from the user. How is this achieved from an Android client application? Where should any persistent data be stored? Could these be cookies or should I write data to a database or even to Internal storage? Once the login is set up, should I just rely on server sessions to authenticate the user, or should I send a cookie and / or username and password with every API call?
source
share