How to Create Persistent Login
Hi
I have built a simple andriod app that accesses a web service which is secured by a username and password. There is a login screen when the app starts where the user enters their username and password to access. This is all working well.
My question is how to keep the app logged in when its closed by the user. Currently if you close the app, next time its opened you have to enter your username and password again.
Many andriod apps I use do not require this, will only request account details if i explicitly log out of the app.
What is the best practice for achieving this?
thanks
Andrew