session - android persistent login -


how can handle persistent login android app? instance, app facebook requires initial credentials user login first time, on requires no additional actions user. how achieved client android app? should persistent data stored? can cookies or should write data database or internal storage? once login has been established, should rely on server sessions authenticate user or should send cookie and/or username , password every api call?

you need use sharedpreferences achieve this.

look here examples on how it.


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -